Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A331A475921 for ; Fri, 8 Nov 2002 23:38:40 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 030B7475AA1 for ; Fri, 8 Nov 2002 23:38:40 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id gA94cihR000289; Fri, 8 Nov 2002 23:38:44 -0500 (EST) To: "Stephane Charette" Cc: "pgsql-admin@postgresql.org" Subject: Re: Vacuum return codes (vacuum as db integrity check?) In-reply-to: <20021108214330.EBEC3475D20@postgresql.org> References: <20021108214330.EBEC3475D20@postgresql.org> Comments: In-reply-to "Stephane Charette" message dated "Fri, 08 Nov 2002 13:43:31 -0800" Date: Fri, 08 Nov 2002 23:38:44 -0500 Message-ID: <288.1036816724@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/110 X-Sequence-Number: 6298 "Stephane Charette" writes: > The error received when we run "vacuumdb" is: > -> ERROR: Cannot insert a duplicate key into unique index > pg_class_oid_index That's pretty interesting. My first thought is a corrupt index. Please try reindexing pg_class. You'll need to do this in a standalone backend --- read the REINDEX reference page carefully. > In our case, we are using 7.2 on a linux 2.2.14 kernel. Binaries were > downloaded via RPM directly from RedHat. 7.2? You should be using 7.2.3. regards, tom lane