Re: pg_class corrupted ? - Mailing list pgsql-admin

From Tom Lane
Subject Re: pg_class corrupted ?
Date
Msg-id 21057.1087573942@sss.pgh.pa.us
Whole thread Raw
In response to pg_class corrupted ?  (Bruno THOMAS <bthomas@alea.fr>)
Responses Re: pg_class corrupted ?
List pgsql-admin
Bruno THOMAS <bthomas@alea.fr> writes:
> My problem is that when I tried to make a dump of the copied DB for a
> new backup I've had the following error :
> pg_dump: query to obtain list of tables failed: ERROR:  Relation
> pg_class does not have attribute 1

Reindexing pg_class might help.  Read the reindex man page carefully,
because reindexing system tables is a tricky procedure before 7.4.

> PS: postresql version is 7.2.1

You like to live dangerously, eh?  There are several known serious
bugs in 7.2.1.  If you want to stay on the 7.2 series you should
at least update to 7.2.4 (or whatever the last of that series was).

            regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: [Support i5GKDLjR008723] PGRES_FATAL_ERROR: out of free buffers:
Next
From: Tom Lane
Date:
Subject: Re: pg_restore patch