X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0A8DFD1B175 for ; Fri, 18 Jun 2004 15:26:18 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 19136-10 for ; Fri, 18 Jun 2004 18:26:15 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id DF2F6D1B34B for ; Fri, 18 Jun 2004 15:26:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i5IIQAJS023338; Fri, 18 Jun 2004 14:26:10 -0400 (EDT) To: Bruno THOMAS Cc: pgsql-admin@postgresql.org Subject: Re: pg_class corrupted ? In-reply-to: <21057.1087573942@sss.pgh.pa.us> References: <40D18921.3000609@alea.fr> <21057.1087573942@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Fri, 18 Jun 2004 11:52:22 -0400" Date: Fri, 18 Jun 2004 14:26:10 -0400 Message-ID: <23337.1087583170@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/233 X-Sequence-Number: 13893 I wrote: > Bruno THOMAS 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