pgsql: Improve "pg_ctl -w start" server detection by writing the postma

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve "pg_ctl -w start" server detection by writing the postma
Date: 2010-12-24 14:45:56
Message-ID: E1PW8u4-0004Xq-3F@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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().

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=075354ad1bc0496c30dbd4dafb0f88a4d3e54cbc

Modified Files
--------------
doc/src/sgml/ref/pg_ctl-ref.sgml | 51 +---------
src/backend/utils/init/miscinit.c | 30 ++++---
src/bin/pg_ctl/pg_ctl.c | 189 ++++++++++++++++++-------------------
3 files changed, 112 insertions(+), 158 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2010-12-24 16:33:23 pgsql: Backpatch to 9.0 a doc mention that a BBU does not prevent parti
Previous Message Robert Haas 2010-12-24 14:45:26 Re: Re: [COMMITTERS] pgsql: Move the documentation of --no-security-label to a more sensible