Re: Vacuum Error - Mailing list pgsql-general

From scott.marlowe
Subject Re: Vacuum Error
Date
Msg-id Pine.LNX.4.33.0401121527080.20494-100000@css120.ihs.com
Whole thread Raw
In response to Re: Vacuum Error  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Vacuum Error
List pgsql-general
On Mon, 12 Jan 2004, Tom Lane wrote:

> Dave Smith <dave.smith@candata.com> writes:
> > I am running 7.2 and when doing a vacuum I am getting the following
> > error....
>
> > ERROR:  Cannot insert a duplicate key into unique index
> > pg_statistic_relid_att_index
>
> Hmm, if it were a slightly newer version I'd be interested in how you
> got into this state, but since it's 7.2 I'll write it off as an old
> bug.  The easiest way out, seeing that pg_statistic is all derived data,
> is just
>     DELETE FROM pg_statistic;
>     (possibly VACUUM FULL pg_statistic here)
>     re-ANALYZE everything
> You should try the nearby suggestion to REINDEX first, but I'm betting
> that that doesn't help.

Didn't this happen with parallel vacuum / analyzes running in the olden
days?


pgsql-general by date:

Previous
From: Alex Satrapa
Date:
Subject: Re: Drawbacks of using BYTEA for PK?
Next
From: Tom Lane
Date:
Subject: Re: Column qualifier issue