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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-06-18 18:28:50 Re: pg_restore patch
Previous Message Lee Wu 2004-06-18 16:33:57 Re: pg_restore patch