Re: pgsql: Further improvements in pg_ctl's new wait-for-postmaster-start l - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Further improvements in pg_ctl's new wait-for-postmaster-start l
Date
Msg-id 10000.1307637807@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Further improvements in pg_ctl's new wait-for-postmaster-start l  (Bruce Momjian <bruce@momjian.us>)
Responses Re: pgsql: Further improvements in pg_ctl's new wait-for-postmaster-start l
List pgsql-committers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> All of this could be improved if we rewrote start_postmaster() so that it
>> could report the child postmaster's PID, so that we'd know a-priori the
>> correct PID to test with postmaster_is_alive().  That looks like a bit too
>> much change for so late in the 9.1 development cycle, unfortunately.

> Is this a TODO?

Yeah, probably.  Until this go-round it wasn't worth the trouble, but
now it seems like the one remaining roadblock to making pg_ctl start -w
fully bulletproof.

            regards, tom lane

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql: Further improvements in pg_ctl's new wait-for-postmaster-start l
Next
From: Magnus Hagander
Date:
Subject: pgsql: Support silent mode for service registrations on win32