pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Marques <martin@bugs.unl.edu.ar>
To: Dave Smith <dave.smith@candata.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Vacuum Error
Date: Mon, 12 Jan 2004 16:25:13 -0300
Message-ID: <1073935513.4002f499d4101@bugs.unl.edu.ar> (raw)
In-Reply-To: <1073933333.13458.17.camel@playpen>
References: <1073933333.13458.17.camel@playpen>

Mensaje citado por Dave Smith <dave.smith@candata.com>:

> 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
> 
> 
> Where do I start to fix this?

I'm not 100% about this working, but I would try to rebuild the index:

REINDEX pg_statistic_relid_att_index

You have to be the postgres superuser to do this.

-- 
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
---------------------------------------------------------
Martín Marqués          |   Programador, DBA
Centro de Telemática	|     Administrador
               Universidad Nacional
                    del Litoral
---------------------------------------------------------



view thread (27+ messages)  latest in thread

Message-ID: <1073935513.4002f499d4101@bugs.unl.edu.ar>
Permalink:  ../1073935513.4002f499d4101@bugs.unl.edu.ar/
Also on:    postgresql.org/message-id/1073935513.4002f499d4101@bugs.unl.edu.ar

 · 

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-general@postgresql.org
  Cc: martin@bugs.unl.edu.ar, dave.smith@candata.com
  Subject: Re: Vacuum Error
  In-Reply-To: <1073935513.4002f499d4101@bugs.unl.edu.ar>
  References: <1073933333.13458.17.camel@playpen> <1073935513.4002f499d4101@bugs.unl.edu.ar>

* 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