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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(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:58:10
Message-ID: 201106091658.p59GwAd27370@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tom Lane wrote:
> 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.

Done:

Improve pg_ctl's detection of running postmasters

* http://archives.postgresql.org/pgsql-hackers/2011-06/msg00000.php
* http://archives.postgresql.org/pgsql-committers/2011-06/msg00001.php

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-06-09 18:02:17 pgsql: Update typedef list for upcoming pgindent run.
Previous Message Magnus Hagander 2011-06-09 16:55:12 pgsql: Use the correct eventlog severity for error