Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 7AC8CB5DEE3 for ; Fri, 4 Nov 2011 11:14:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 07592-01-3 for ; Fri, 4 Nov 2011 14:14:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 7B39DB5DDED for ; Fri, 4 Nov 2011 11:14:07 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id pA4EE7ui006609; Fri, 4 Nov 2011 10:14:07 -0400 (EDT) To: Bhakti Ghatkar cc: pgsql-performance@postgresql.org Subject: Re: Error while vacuuming In-reply-to: References: Comments: In-reply-to Bhakti Ghatkar message dated "Fri, 04 Nov 2011 17:44:21 +0530" Date: Fri, 04 Nov 2011 10:14:07 -0400 Message-ID: <6608.1320416047@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-3.101 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-1.201 X-Spam-Level: X-Archive-Number: 201111/76 X-Sequence-Number: 45587 Bhakti Ghatkar writes: > Hi , > While performing full vacuum we encountered the error below: > INFO: vacuuming "pg_catalog.pg_index" > vacuumdb: vacuuming of database "xxxx" failed: ERROR: duplicate key value > violates unique constraint "ccccc" > DETAIL: Key (indexrelid)=(2678) already exists. > We are using Postgres 9.0.1 > Can you please help us out in understanding the cause of this error? Try updating ... that looks suspiciously like a bug that was fixed a few months ago. regards, tom lane