Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyTY9-0007pI-Ip for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Jan 2013 20:37:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TyTY8-0002Rl-Q9 for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Jan 2013 20:37:28 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyTY7-0002Rg-Dn for pgsql-hackers@postgreSQL.org; Thu, 24 Jan 2013 20:37:27 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyTY6-0003G8-8n for pgsql-hackers@postgreSQL.org; Thu, 24 Jan 2013 20:37:26 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1TyTY5-00038B-7J; Thu, 24 Jan 2013 15:37:25 -0500 Date: Thu, 24 Jan 2013 15:37:25 -0500 From: Bruce Momjian To: Tom Lane Cc: giomac@gmail.com, PostgreSQL-development Subject: Re: Re: [BUGS] BUG #7815: Upgrading PostgreSQL from 9.1 to 9.2 with pg_upgrade/postgreql-setup fails - invalid status retrieve Message-ID: <20130124203725.GA21914@momjian.us> References: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130123215857.GA6657@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org 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 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