pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Raiskup <praiskup@redhat.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: tgl@sss.pgh.pa.us
Cc: giomac@gmail.com
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [PATCH] Re: [BUGS] BUG #7815: Upgrading PostgreSQL from 9.1 to 9.2 with pg_upgrade/postgreql-setup fails - invalid status retrieve
Date: Mon, 12 Aug 2013 22:08:07 +0200
Message-ID: <2173089.HqHtjyoHSD@nb.usersys.redhat.com> (raw)
In-Reply-To: <20130812193347.GD12510@momjian.us>
References: <20130124203725.GA21914@momjian.us>
	<1376303470-17225-1-git-send-email-praiskup@redhat.com>
	<20130812193347.GD12510@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

> The patch moves the atexit setting up, as you suggested, but only does
> that when pg_ctl succeeds (we know we started the server),

Yes, of course!

> PG 9.1+ will allow pg_ctl -w start to succeed even if there are
> permissions problems;  earlier versions will not and will keep the
> server running --- the user will have to stop the server after
> pg_upgrade says it is running.

This makes it a complex, really..  We may not easily make the
stop_postmaster resistant to non-running server.  Thus your solution must
be good enough.

> I am not going to backpatch this beyond 9.3 as it is risky code.  I have
> improved the comments in this area.

Agree, it is OK for me — thanks for your work.

Pavel



-- 
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: <2173089.HqHtjyoHSD@nb.usersys.redhat.com>
Permalink:  ../2173089.HqHtjyoHSD@nb.usersys.redhat.com/
Also on:    postgresql.org/message-id/2173089.HqHtjyoHSD@nb.usersys.redhat.com

 · 

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: praiskup@redhat.com, bruce@momjian.us, tgl@sss.pgh.pa.us, giomac@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [PATCH] Re: [BUGS] BUG #7815: Upgrading PostgreSQL from 9.1 to 9.2 with pg_upgrade/postgreql-setup fails - invalid status retrieve
  In-Reply-To: <2173089.HqHtjyoHSD@nb.usersys.redhat.com>
  References: <20130124203725.GA21914@momjian.us> <1376303470-17225-1-git-send-email-praiskup@redhat.com> <20130812193347.GD12510@momjian.us> <2173089.HqHtjyoHSD@nb.usersys.redhat.com>

* 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