From: hubert depesz lubaczewski <depesz@depesz.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Subject: Re: [GENERAL] pg_upgrade problem
Date: Thu, 25 Aug 2011 22:36:41 +0200
Message-ID: <20110825203641.GA19537@depesz.com> (raw)
In-Reply-To: <201108252033.p7PKX7629929@momjian.us>
References: <20110825195757.GA28394@depesz.com>
<201108252033.p7PKX7629929@momjian.us>
On Thu, Aug 25, 2011 at 04:33:07PM -0400, Bruce Momjian wrote:
> The problem appears to be that the Postgres catalogs think there is a
> toast table for 'actions', while the file system doesn't seem to have
> such a file. I can you look in pg_class and verify that?
>
> SELECT reltoastrelid FROM pg_class WHERE relname = 'actions';
$ SELECT reltoastrelid FROM pg_class WHERE relname = 'actions';
reltoastrelid
---------------
(0 rows)
This is done not on the pg from backup, but on normal production, as the test
pg instance doesn't work anymore.
I can re-set the test instance, but extracting from backup, and making it apply
all xlogs usually takes 2-3 days.
> > One more thing - one of earlier tests actually worked through
> > pg_upgrade, but when running vacuumdb -az on newly started 9.0.4, I got
> > error about missing transaction/clog - don't remember exactly what it
> > was, though.
>
> THere was a bug in how how pg_upgrade worked in pre-9.0.4 --- could it
> have been that?
It was done definitely using 9.0.4.
Best regards,
depesz
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-general@postgresql.org
Cc: depesz@depesz.com, bruce@momjian.us, pgsql-hackers@postgreSQL.org
Subject: Re: [GENERAL] pg_upgrade problem
In-Reply-To: <20110825203641.GA19537@depesz.com>
References: <20110825195757.GA28394@depesz.com> <201108252033.p7PKX7629929@momjian.us> <20110825203641.GA19537@depesz.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