Skip site navigation (1) Skip section navigation (2)

Re: pg_class corrupted ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruno THOMAS <bthomas(at)alea(dot)fr>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_class corrupted ?
Date: 2004-06-18 18:26:10
Message-ID: 23337.1087583170@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
I wrote:
> Bruno THOMAS <bthomas(at)alea(dot)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.

On second thought, that symptom sounds more like a problem in the
pg_attribute indexes.  Probably what you want to do is REINDEX DATABASE
to force recreation of all the system-table indexes ...

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2004-06-18 18:28:50
Subject: Re: pg_restore patch
Previous:From: Lee WuDate: 2004-06-18 16:33:57
Subject: Re: pg_restore patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group