Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 7B0F49FA37B for ; Tue, 10 Jul 2007 02:25:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 61767-01-10 for ; Tue, 10 Jul 2007 02:25:49 -0300 (ADT) X-Greylist: delayed 00:06:40.484139 by SQLgrey-1.7.4 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by postgresql.org (Postfix) with ESMTP id A21299FB40B for ; Tue, 10 Jul 2007 02:20:50 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id f5so78433nfh for ; Mon, 09 Jul 2007 22:20:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=g4wpD3cPnqQA1jrNLvvu+9A/vcqlUDF/XmwiwaKYJdchHcCTI32ORV9Onb2fKcMF7e8j/TDzEShLBKcW/Voe70agsKG22czW4hieFiPt8NrhokOd/Oq1OVec0U2/+F06ng2WASp19qF2w+1O68fEFSf9JpGSp2t9F6W1oIPJ3c4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=lKCRwaiCxmYzkVBOBQ6jpmWka14E4cyTCDCFAWwf4ih8FZXrkTRQC/GiHd3vktlJ/mOWyAvnf8jtgV/u9W+0eJnqZo4GLS8EDOJURPvvgV7uEM1Zk4T6KdPC3AoKQ20KVUkRq/cwUhPkw7kKlmAFKxMvWA9VL6i3aZFKEmtzWBs= Received: by 10.82.178.11 with SMTP id a11mr9243076buf.1184044448238; Mon, 09 Jul 2007 22:14:08 -0700 (PDT) Received: by 10.82.188.18 with HTTP; Mon, 9 Jul 2007 22:14:08 -0700 (PDT) Message-ID: Date: Tue, 10 Jul 2007 01:14:08 -0400 From: "Harpreet Dhaliwal" To: "Postgres General" Subject: Duplicate Unique Key constraint error MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_157634_32783401.1184044448221" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/379 X-Sequence-Number: 116980 ------=_Part_157634_32783401.1184044448221 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I keep getting this duplicate unique key constraint error for my primary key even though I'm not inserting anything duplicate. It even inserts the records properly but my console throws this error that I'm sure of what it is all about. Corruption of my Primary Key can be one of the possibilities but I'm really not sure how to get rid of this corruption and how to re-index the primary key. Also, I was wondering what could be the cause of this PK corruption, if possible and what does can this corruption lead to. I mean what are its cons. Thanks, ~Harpreet ------=_Part_157634_32783401.1184044448221 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I keep getting this duplicate unique key constraint error for my primary key even
though I'm not inserting anything duplicate. It even inserts the records properly
but my console throws this error that I'm sure of what it is all about.

Corruption of my Primary Key can be one of the possibilities but I'm really not sure how
to get rid of this corruption and how to re-index the primary key.

Also, I was wondering what could be the cause of this PK  corruption, if possible and what does can this corruption lead to.
I mean what are its cons.

Thanks,
~Harpreet
------=_Part_157634_32783401.1184044448221--