From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mike Wilson <mfwilson@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2)
Date: Sun, 15 Jul 2012 17:45:28 -0400
Message-ID: <23299.1342388728@sss.pgh.pa.us> (raw)
In-Reply-To: <8D0918C1-39A0-429A-96DB-997BE362141A@gmail.com>
References: <E1SpRgI-0007HO-UN@wrigleys.postgresql.org>
<13290.1342133046@sss.pgh.pa.us>
<20120712224929.GB25074@momjian.us>
<517A874F-B310-4340-803D-EC8625C8B497@gmail.com>
<20120713015241.GA15443@momjian.us>
<8D0918C1-39A0-429A-96DB-997BE362141A@gmail.com>
Mike Wilson <mfwilson@gmail.com> writes:
> I've had some time to examine this closer over the weekend. It
> appears that pg_upgrade for 9.2b2 segfaults which more than likely has
> something to do with the resulting converted database appearing to
> have no rows.
Yeah, more than likely :-(. Could we see a stack trace from the
segfault?
> Of possible note in this DB is that the previous DBA renamed the
> "postgres" user.
Hmm. There is a known bug in beta2 that's triggered by old and new
clusters not having the same name for the bootstrap superuser; although
I don't recall that the symptoms included a segfault. In any case,
I'd suggest making sure the new cluster is initdb'd under the same
account that currently owns the old cluster.
regards, tom lane
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: tgl@sss.pgh.pa.us, mfwilson@gmail.com, bruce@momjian.us
Subject: Re: BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2)
In-Reply-To: <23299.1342388728@sss.pgh.pa.us>
References: <E1SpRgI-0007HO-UN@wrigleys.postgresql.org> <13290.1342133046@sss.pgh.pa.us> <20120712224929.GB25074@momjian.us> <517A874F-B310-4340-803D-EC8625C8B497@gmail.com> <20120713015241.GA15443@momjian.us> <8D0918C1-39A0-429A-96DB-997BE362141A@gmail.com> <23299.1342388728@sss.pgh.pa.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