Re: Vacuum Error

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: Vacuum Error
Дата
Msg-id Pine.LNX.4.33.0401121527080.20494-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: Vacuum Error  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Vacuum Error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Alex Satrapa
Дата:
Сообщение: Re: Drawbacks of using BYTEA for PK?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Column qualifier issue