X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id C397AD1B432 for ; Mon, 12 Jan 2004 19:31:12 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 37603-10 for ; Mon, 12 Jan 2004 15:30:42 -0400 (AST) Received: from bugs.unl.edu.ar (bugs.unl.edu.ar [168.96.132.208]) by svr1.postgresql.org (Postfix) with ESMTP id BD365D1BBB0 for ; Mon, 12 Jan 2004 15:30:40 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by bugs.unl.edu.ar (Postfix) with ESMTP id 0C31912636; Mon, 12 Jan 2004 16:25:14 -0300 (ART) Received: from bugs.unl.edu.ar ([127.0.0.1]) by localhost (bugs [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11018-04; Mon, 12 Jan 2004 16:25:14 -0300 (ART) Received: by bugs.unl.edu.ar (Postfix, from userid 33) id 6CC2E12634; Mon, 12 Jan 2004 16:25:14 -0300 (ART) Received: from 200.68.215.113 ([200.68.215.113]) by bugs.unl.edu.ar (IMP) with HTTP for ; Mon, 12 Jan 2004 16:25:13 -0300 Message-ID: <1073935513.4002f499d4101@bugs.unl.edu.ar> Date: Mon, 12 Jan 2004 16:25:13 -0300 From: Martin Marques To: Dave Smith Cc: "pgsql-general@postgresql.org" Subject: Re: Vacuum Error References: <1073933333.13458.17.camel@playpen> In-Reply-To: <1073933333.13458.17.camel@playpen> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at unl.edu.ar X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/528 X-Sequence-Number: 55556 Mensaje citado por Dave Smith : > 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 ---------------------------------------------------------