(Now featuring documentation: fixed some typos, expanded the
Bruce Momjian <bruce@momjian.us>
(Now featuring documentation: fixed some typos, expanded the Envrironment and Files section, explained exactly what -w does) This is a patch which allows pg_ctl to make an intelligent guess as to the proper port when running 'psql -l' to determine if the database has started up (the -w flag). The environment variable PGPORT is used. If that is not found, it checks if a specific port has been set inside the postgresql.conf file. If it is has not, it uses the port that Postgres was compiled with. Greg Sabino Mullane greg@turnstep.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_ctl-ref.sgml | modified | +90 −26 |
| src/bin/pg_ctl/Makefile | modified | +2 −1 |
| src/bin/pg_ctl/pg_ctl.sh | modified | +22 −12 |