]> granicus.if.org Git - postgresql/commit
(Now featuring documentation: fixed some typos, expanded the
authorBruce Momjian <bruce@momjian.us>
Thu, 20 Mar 2003 05:00:14 +0000 (05:00 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 20 Mar 2003 05:00:14 +0000 (05:00 +0000)
commit54ca7a7b1338e9f91d5bc1227442cf66e607e313
treee4a6e23a3c3dc9a6b8e5c8a6b8ca2da213e2f208
parent3c28f9c144d078822409d7ec3f116c127b412616
(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
doc/src/sgml/ref/pg_ctl-ref.sgml
src/bin/pg_ctl/Makefile
src/bin/pg_ctl/pg_ctl.sh