Improve "pg_ctl -w start" server detection by writing the postmaster

Bruce Momjian <bruce@momjian.us>

Commit: 075354ad1bc0496c30dbd4dafb0f88a4d3e54cbc
Author: Bruce Momjian <bruce@momjian.us>
Date: 2010-12-24T14:45:52Z
Releases: 9.1.0
Improve "pg_ctl -w start" server detection by writing the postmaster
port and socket directory into postmaster.pid, and have pg_ctl read from
that file, for use by PQping().

Files

PathChange+/−
doc/src/sgml/ref/pg_ctl-ref.sgml modified +4 −47
src/backend/utils/init/miscinit.c modified +17 −13
src/bin/pg_ctl/pg_ctl.c modified +91 −98