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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Further improvements in pg_ctl's new wait-for-postmaster-start l
Date: 2011-06-09 16:43:27
Message-ID: 10000.1307637807@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2011-06-09 16:55:12 pgsql: Use the correct eventlog severity for error
Previous Message Bruce Momjian 2011-06-09 16:35:08 Re: pgsql: Further improvements in pg_ctl's new wait-for-postmaster-start l