Remove PGPASSWORDFILE and default to always trying $HOME/.pgpass.
Bruce Momjian <bruce@momjian.us>
Remove PGPASSWORDFILE and default to always trying $HOME/.pgpass. Cleanup up memory allocation for $HOME in related psql places. Update mention of $HOME/.pgpass in the docs; add mention in pg_dumpall.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpq.sgml | modified | +22 −18 |
| doc/src/sgml/ref/clusterdb.sgml | modified | +5 −5 |
| doc/src/sgml/ref/pg_dumpall.sgml | modified | +9 −1 |
| doc/src/sgml/ref/vacuumdb.sgml | modified | +5 −4 |
| src/bin/psql/input.c | modified | +9 −5 |
| src/bin/psql/startup.c | modified | +6 −4 |
| src/interfaces/libpq/fe-connect.c | modified | +35 −19 |