Re: PostgreSQL 8.1.0 catalog corruption - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PostgreSQL 8.1.0 catalog corruption
Date
Msg-id 4637.1132610373@sss.pgh.pa.us
Whole thread Raw
In response to Re: PostgreSQL 8.1.0 catalog corruption  (Bob Ippolito <bob@redivi.com>)
Responses Re: PostgreSQL 8.1.0 catalog corruption
List pgsql-hackers
Bob Ippolito <bob@redivi.com> writes:
> The attributes look like the names of all the columns in the table,  
> and reindexing didn't help.

So at this point it seems that the pg_class row disappeared, but there
probably wasn't any actual DROP operation --- you'd think at least some
of those other entries would have been deleted by a DROP.

My next guess is that the pg_class row simply got clobbered somehow,
eg its xmin field got set to something ridiculous.  The only way I can
think of to investigate that is to dump out the contents of pg_class
with pg_filedump --- are you game for that?  If so, get the right
version of pg_filedump from 
http://sources.redhat.com/rhdb/utilities.html
and run it with the -i -f options (usually produces the most helpful
output, in my experience).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bob Ippolito
Date:
Subject: Re: PostgreSQL 8.1.0 catalog corruption
Next
From: "Jim C. Nasby"
Date:
Subject: Re: [COMMITTERS] pgsql: make_restrictinfo() failed to attach the specified