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