From: Bruce Momjian <bruce@momjian.us>
To: George Machitidze <giomac@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7815: Upgrading PostgreSQL from 9.1 to 9.2 with pg_upgrade/postgreql-setup fails - invalid status retrieve
Date: Sat, 19 Jan 2013 15:24:34 -0500
Message-ID: <20130119202434.GB24541@momjian.us> (raw)
In-Reply-To: <CA+nv05jPr8TorZejo9=KSZd8krMTD4YY3RSxob8LW+imCZLqdw@mail.gmail.com>
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>
<CA+nv05jPr8TorZejo9=KSZd8krMTD4YY3RSxob8LW+imCZLqdw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Sat, Jan 19, 2013 at 10:45:15PM +0400, George Machitidze wrote:
> Hi Bruce, Tom
>
> >The backstory on this is at the cited Red Hat bug ... apparently the OP
> >decided I was clueless and he needed to consult some real authorities.
> Oh come on, I'm very sure you both are good guys and know what you are doing,
> none of us is ignorant bastard :)
> Decided to open case here too, because of simple reason - maybe someone had
> same issue, or knows how pg_upgrade works (in details) better than me, because
> I am clueless.
> This is test DB and I can erase it, but I'm very sure there's something wrong
> in upgrade process - this is what I want to be solved.
>
> Now, we can open a bottle of whiskey and go back to the problem:
> 1. I didn't run postmaster before/during pg_upgrade, it was never invoked
> manually in this process
> 2. There is no pid file AFTER application is stopped, but looks like it's there
> while pg_upgrade is running - strace showed that and there is no need to run
> FAM to verify that
>
> I don't know how pg_upgrade works, looks like it's trying to start postmaster,
> which runs, postmaster.pid is created, then postmaster fails stop or needs some
> more time bedore pg_upgrade is checking it's pid. That's what I see.
>
> So, is pg_upgrade starting postmaster? If yes, then when (at which step) and
> why pid file check is done. That's all what we all want to know, right?
The pid check is done before pg_upgrade starts or stops any postmaster,
to make sure both servers are down before it starts. Tom wants that
testing improved.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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, giomac@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: BUG #7815: Upgrading PostgreSQL from 9.1 to 9.2 with pg_upgrade/postgreql-setup fails - invalid status retrieve
In-Reply-To: <20130119202434.GB24541@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> <CA+nv05jPr8TorZejo9=KSZd8krMTD4YY3RSxob8LW+imCZLqdw@mail.gmail.com> <20130119202434.GB24541@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