Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vu100-0008Ix-PV for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Dec 2013 14:24:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vu0zz-0006iS-Ev for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Dec 2013 14:24:19 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VtyQ2-00021M-00 for pgsql-bugs@postgresql.org; Fri, 20 Dec 2013 11:39:02 +0000 Received: from nm4-vm3.bullet.mail.sg3.yahoo.com ([106.10.148.130]) by makus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VtyPy-0003SH-25 for pgsql-bugs@postgresql.org; Fri, 20 Dec 2013 11:39:01 +0000 Received: from [106.10.166.113] by nm4.bullet.mail.sg3.yahoo.com with NNFMP; 20 Dec 2013 11:38:55 -0000 Received: from [106.10.151.251] by tm2.bullet.mail.sg3.yahoo.com with NNFMP; 20 Dec 2013 11:38:55 -0000 Received: from [127.0.0.1] by omp1022.mail.sg3.yahoo.com with NNFMP; 20 Dec 2013 11:38:55 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 213672.95192.bm@omp1022.mail.sg3.yahoo.com Received: (qmail 80961 invoked by uid 60001); 20 Dec 2013 11:38:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1387539535; bh=RO5GHYgvaFZbhERrmaQCxlaqTE6KIxvLYW57yn1GryE=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=OA4xf3udwcJq9Qb65bsFbg++YYHr0IrXrVYG8wqTG6RHllzCmxo1rlSZlI4s2Kkr3mpl4QNeY9BGQUGckivA8BRPrd35gDNwZ4ZKShlKooeUd8/QeMAqP0nUvq2rCCQSIBva0iiJwIqCqVkgJ3b5UqxnPAywBPCe6wCfxG/Yv3U= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=O73T7utBEy2tqvpZVM8MhLSFIOKaSGsMso3qsLHlpKL3aS2ghSOzFTmPV1cGO9Sg/S50gfboMrS4qk3ObhXubmAO7V6g+BEe6hYs0HJLg+f6TyGoJRJ8ErW4gSxH0oodYhplxkWYGiVxKKAm2dqW8/D3p+Z4R873U9BWd3tyvxE=; X-YMail-OSG: A.VAxv0VM1mHrt0cDPL7DZP_SdR.gU2mLiNYjrD3Es7w_JC 0vFViYgNcL2Tqfm8Gwf8Zz8BuCEVdkuRbQ.USkHuiImfps9i6q2AXXpYKU8j AaPrfv4sIPW.9gA2YBHC0LyLWY5qEWo5MrgXc5gxxSMGHxylFahIN8MZnI4C vdSK3S2Sq5xAc13A3pZcLDmHv5dsu7wJjZFdDw01LcJsABRHhw4HXTU75PfZ w6LBethvcp9aIWUd8q2lBTallSE4d71xp4oZXemao0roO3HzJI5mBiDt7Ifh uCZvuLChZeMxXwU3BG_xXXoLpdFBrC_t3taJUt3Q7vwb5h6sZKmCTk5V0dkR sJmzAbFwYcNRq7.o6sdfjCRJtQkfgaZfr2sn3rXVxhBEy4qEpGFOiee9YCsz e7WNNv8KeysImsELcdwzqoUoqOmz8.QB5BjzIOkw5OwEFG7I0kmYJkSuT.M7 XiLmH5fNlONeK30J73iQFhwkdioQ7hhxZSF7J.FdeQr7EblmiB896JzOG25l l3Yz2TFizk2jT4ILmzQVFgejC07jaFyxK_lj.KJ86Axe2UgZZRQ-- Received: from [114.143.39.154] by web193105.mail.sg3.yahoo.com via HTTP; Fri, 20 Dec 2013 19:38:55 SGT X-Rocket-MIMEInfo: 002.001, SGVsbG8gQWxsLArCoApJIGhhdmUgYmVlbiB1c2luZyBwZ19kdW1wL3BnX3Jlc3RvcmUgdG8gYmFja3VwIGFuZCByZXN0b3JlIHRoZSBkYXRhYmFzZSBpbiBvdXIgcHJvZHVjdCBmb3IgcXVpdGUgc29tZXRpbWUuCk9uZSBvZiBvdXIgY3VzdG9tZXJzIHJlcG9ydGVkIGFuIGlzc3VlIHdpdGggbXVsdGlwbGUgZW50cmllcyBmb3IgYSBmaWVsZCBtYXJrZWQgYXMgcHJpbWFyeSBrZXkuCsKgCkFmdGVyIGludmVzdGlnYXRpb24gb2YgdGhlIGxvZ3Mgd2UgZm91bmQgdGhlIG11bHRpcGxlIGVudGlyZXMgd2VyZSBjcmUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.172.614 Message-ID: <1387539535.65669.YahooMailNeo@web193105.mail.sg3.yahoo.com> Date: Fri, 20 Dec 2013 19:38:55 +0800 (SGT) From: Umesh Kirdat Reply-To: Umesh Kirdat Subject: Duplicate key violates unique constraint To: "pgsql-bugs@postgresql.org" , "pgsql-bugs@postgresql.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="2118110249-1054961454-1387539535=:65669" X-Pg-Spam-Score: 0.2 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --2118110249-1054961454-1387539535=:65669 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello All,=0A=A0=0AI have been using pg_dump/pg_restore to backup and resto= re the database in our product for quite sometime.=0AOne of our customers r= eported an issue with multiple entries for a field marked as primary key.= =0A=A0=0AAfter investigation of the logs we found the multiple entires were= created during pg_restore and the primary key constraint on the field coul= d not be created due to unique constraint violation.=0A=A0=0AAfter searchin= g on internet I came across the Postgres BUG 8382 & 3231 & 7760 reported in= the past for this issue.=0A=A0=0AThe Postgres version on which the issue w= as reported is 8.2.2=0AWe have upgraded our Postgres version to 9.0.4 in th= e current product release and I would like to know whether the issue in dis= cussion is fixed in Postgres 9.0.4?=0A=A0=0AThank you,=0AUmesh Kirdat --2118110249-1054961454-1387539535=:65669 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hello All,
=
 
I have been using pg_dump/pg_restore to backup and re= store the database in our product for quite sometime.
One of our = customers reported an issue with multiple entries for a field marked as pri= mary key.
 
After investigation of the logs we fou= nd the multiple entires were created during pg_restore and the primary key = constraint on the field could not be created due to unique constraint viola= tion.
 
After searching on internet I came across = the Postgres BUG 8382 & 3231 & 7760 reported in the past for this i= ssue.
 
The Postgres version on which the issue wa= s reported is 8.2.2
We have upgraded our Postgres version to 9.0.= 4 in the current product release and I would like to know whether the issue in discussion is fixed in Postgres 9.0.4?
 
Thank you,
Umesh Kirdat
--2118110249-1054961454-1387539535=:65669--