pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruno THOMAS <bthomas@alea.fr>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_class corrupted ?
Date: Fri, 18 Jun 2004 14:26:10 -0400
Message-ID: <23337.1087583170@sss.pgh.pa.us> (raw)
In-Reply-To: <21057.1087573942@sss.pgh.pa.us>
References: <40D18921.3000609@alea.fr>
	<21057.1087573942@sss.pgh.pa.us>

I wrote:
> 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.

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



view thread (4+ messages)  latest in thread

Message-ID: <23337.1087583170@sss.pgh.pa.us>
Permalink:  ../23337.1087583170@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23337.1087583170@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, bthomas@alea.fr
  Subject: Re: pg_class corrupted ?
  In-Reply-To: <23337.1087583170@sss.pgh.pa.us>
  References: <40D18921.3000609@alea.fr> <21057.1087573942@sss.pgh.pa.us> <23337.1087583170@sss.pgh.pa.us>

* 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