From: Alvaro Herrera <alvherre@commandprompt.com>
To: marco <marco.put@tiscali.it>
Cc: pgsql-admin@postgresql.org
Subject: Re: table disappear from pg_class
Date: Sat, 18 Mar 2006 22:14:53 -0400
Message-ID: <20060319021453.GB883@surnet.cl> (raw)
In-Reply-To: <1142410606.11594.24.camel@pestatasti.sys>
References: <1142410606.11594.24.camel@pestatasti.sys>
marco wrote:
> Hi all,
> I have a problem with a table which is disappeared from pg_class
> with all objects related (views, indexes and so on).
> pg_dump against this table does not work (I think because it is not
> present in pg_class).
>
> The strange behaviour is that I can select data from this table !!
This sounds very much like transaction Id wraparound, meaning you failed
to vacuum pg_class (and possibly other system catalogs as well) in a
timely fashion. Basically you need to return the transaction counter a
little bit, then vacuum and make sure all your data is still consistent.
This has been discussed before. See for example:
http://archives.postgresql.org/pgsql-bugs/2005-05/msg00079.php
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
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-admin@postgresql.org
Cc: alvherre@commandprompt.com, marco.put@tiscali.it
Subject: Re: table disappear from pg_class
In-Reply-To: <20060319021453.GB883@surnet.cl>
References: <1142410606.11594.24.camel@pestatasti.sys> <20060319021453.GB883@surnet.cl>
* 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