]> granicus.if.org Git - postgresql/commit
Improve "pg_ctl -w start" server detection by writing the postmaster
authorBruce Momjian <bruce@momjian.us>
Fri, 24 Dec 2010 14:45:15 +0000 (09:45 -0500)
committerBruce Momjian <bruce@momjian.us>
Fri, 24 Dec 2010 14:45:52 +0000 (09:45 -0500)
commit075354ad1bc0496c30dbd4dafb0f88a4d3e54cbc
treeb1534a62642ca169ef424f6f8962965e70caea0f
parent4b1742a192a60b9c063fd7e93f5aed7a697bece1
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().
doc/src/sgml/ref/pg_ctl-ref.sgml
src/backend/utils/init/miscinit.c
src/bin/pg_ctl/pg_ctl.c