pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephane Charette <stephanecharette@telus.net>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Vacuum return codes (vacuum as db integrity check?)
Date: Fri, 08 Nov 2002 23:38:44 -0500
Message-ID: <288.1036816724@sss.pgh.pa.us> (raw)
In-Reply-To: <20021108214330.EBEC3475D20@postgresql.org>
References: <20021108214330.EBEC3475D20@postgresql.org>

"Stephane Charette" <stephanecharette@telus.net> 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



view thread (9+ messages)

Message-ID: <288.1036816724@sss.pgh.pa.us>
Permalink:  ../288.1036816724@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/288.1036816724@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, stephanecharette@telus.net
  Subject: Re: Vacuum return codes (vacuum as db integrity check?)
  In-Reply-To: <288.1036816724@sss.pgh.pa.us>
  References: <20021108214330.EBEC3475D20@postgresql.org> <288.1036816724@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