pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: giomac@gmail.com
Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Subject: Re: Re: [BUGS] BUG #7815: Upgrading PostgreSQL from 9.1 to 9.2 with pg_upgrade/postgreql-setup fails - invalid status retrieve
Date: Thu, 24 Jan 2013 15:37:25 -0500
Message-ID: <20130124203725.GA21914@momjian.us> (raw)
In-Reply-To: <20130123215857.GA6657@momjian.us>
References: <E1TwKHs-0005yp-39@wrigleys.postgresql.org>
	<20130119033257.GC2857@momjian.us>
	<14155.1358571751@sss.pgh.pa.us>
	<20130119051549.GD2857@momjian.us>
	<14955.1358574423@sss.pgh.pa.us>
	<20130119150242.GE2857@momjian.us>
	<25216.1358612848@sss.pgh.pa.us>
	<20130120025648.GE24541@momjian.us>
	<20130123215857.GA6657@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Wed, Jan 23, 2013 at 04:58:57PM -0500, Bruce Momjian wrote:
> Attached is a ready-to-apply version of the patch.  I continued to use
> postmaster.pid to determine if I need to try the start/stop test ---
> that allows me to know which servers _might_ be running, because a
> server start failure might be for many reasons and I would prefer not to
> suggest the server is running if I can avoid it, and the pid file gives
> me that.
> 
> The patch is longer than I expected because the code needed to be
> reordered.  The starting banner indicates if it a live check, but to
> check for a live server we need to start/stop the servers and we needed
> to know where the binaries are, and we didn't do that until after the
> start banner.  I removed the 'check' line for binary checks, and moved
> that before the banner printing.  postmaster_start also now needs an
> option to supress an error.

Applied.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (17+ messages)  latest in thread

Message-ID: <20130124203725.GA21914@momjian.us>
Permalink:  ../20130124203725.GA21914@momjian.us/
Also on:    postgresql.org/message-id/20130124203725.GA21914@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, giomac@gmail.com, pgsql-hackers@postgreSQL.org
  Subject: Re: [BUGS] BUG #7815: Upgrading PostgreSQL from 9.1 to 9.2 with pg_upgrade/postgreql-setup fails - invalid status retrieve
  In-Reply-To: <20130124203725.GA21914@momjian.us>
  References: <E1TwKHs-0005yp-39@wrigleys.postgresql.org> <20130119033257.GC2857@momjian.us> <14155.1358571751@sss.pgh.pa.us> <20130119051549.GD2857@momjian.us> <14955.1358574423@sss.pgh.pa.us> <20130119150242.GE2857@momjian.us> <25216.1358612848@sss.pgh.pa.us> <20130120025648.GE24541@momjian.us> <20130123215857.GA6657@momjian.us> <20130124203725.GA21914@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox