(Now featuring documentation: fixed some typos, expanded the

Bruce Momjian <bruce@momjian.us>

Commit: 54ca7a7b1338e9f91d5bc1227442cf66e607e313
Author: Bruce Momjian <bruce@momjian.us>
Date: 2003-03-20T05:00:14Z
Releases: 7.4.1
(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

PathChange+/−
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