94dd68587b6318b1d8d6bb845d21dcce342c1b49
db-tool): postgres-init: always invoke main so sourcing exports vars
Previous basename guard only ran the function when invoked as the postgres-init binary, but consumer shellHooks source the script to inherit POSTGRESQL_HOST/PGURL/etc. Sourcing left the function defined but never called, leaving WIPE_PGURL/PGURL unset and breaking devshell entry in proxydoe and ruststats.
Description
No description provided
Languages
Go
75.1%
Handlebars
7.1%
TypeScript
4.1%
Shell
3.1%
Nix
2.3%
Other
8.1%