Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5Xjg-0002uP-KO for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Jan 2014 09:35:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W5Xjf-0007aV-L3 for pgsql-bugs@arkaria.postgresql.org; Tue, 21 Jan 2014 09:35:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5Xje-0007Zz-PU for pgsql-bugs@postgresql.org; Tue, 21 Jan 2014 09:35:06 +0000 Received: from nm2-vm6.bullet.mail.sg3.yahoo.com ([106.10.148.109]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5XjT-0002Zb-9a for pgsql-bugs@postgresql.org; Tue, 21 Jan 2014 09:35:06 +0000 Received: from [106.10.166.113] by nm2.bullet.mail.sg3.yahoo.com with NNFMP; 21 Jan 2014 09:34:50 -0000 Received: from [106.10.150.25] by tm2.bullet.mail.sg3.yahoo.com with NNFMP; 21 Jan 2014 09:34:50 -0000 Received: from [127.0.0.1] by omp1026.mail.sg3.yahoo.com with NNFMP; 21 Jan 2014 09:34:50 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 508592.73592.bm@omp1026.mail.sg3.yahoo.com Received: (qmail 96697 invoked by uid 60001); 21 Jan 2014 09:34:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1390296890; bh=wJmsOlyXt6fGdxqUoCKpMbETQA43gTLD2dFnjqxYKI0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=QzBzfc9ZIlKfNuTbkIA2vpIz1hwc+4i7ztSWVRu5PaujzMccnUkNCHxAng7XbMVuVEdfkJvnBPlL1Nr7/IcuQkIUUk/gSlz5vvqg2b85wfrAl4dFVxagh/vALqydTSMcsIfjuB3dULYlXgehXG0Gjx+FjlxbgcHxoMYB+DiL7cE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=hj27+YDLZJR99XF2Tsuhw8+4HAupBbrAKcYJ+sIHursYQv1yjjlxeclHKw9SyvqoUxphL+fpDCN1dqkJS3laWsSqe6TreRl9+amOLyFbMTp8yBnhjHhFVCp/13X8wLV8PnKqpVzVV87cyzjzyQmcDgXAYsn2wyntHGfUnTa8j8k=; X-YMail-OSG: 4mf5XDgVM1k7k1Gvp77edmj2vRXXsUk8aYfUIx92DKBdcaI D2PP_WS9glCvVf93JQmy94YOIg7tvPGKTiVT6TRJX.F1.lTx1KkcZZJer2TH vy3Yzrfhb3rXi9fvgOWt6GiJikkz231McWyPbPXlPBuSybff4D6OOAIbiKFv RjGaU4_RDsHh_6qFIsaNbh8qcyqF6DIwqQ6yackWpttviqAx9GuzLcyR1CYI 7.KuBfG.BPCK0.8ALkFWPzwiP1RwBKpGR1zxORYuBwWO0UXI3uJjZDNYNgx1 D46shQTIu4SRcZdWWQwRkGT1KznQ2r7ivuUsmSAGDOya9dUETFvSJIiggWQv Farue2nSJ6Sy88w6_19Ll37YQOZUt2rMBNYETc9E1xliItegqcsWc37hmCTM 2wzkxuaFiA4_Qpek1N4aBnTsxodvgYU_JXdC5bB14oZQvUWVJKK5nH_5eE4i gnSHA4iACGg_LRjxyVajxLpZb.ZQAH.XyGqPM0zDoUEykZ9foYI23fQUEVOY BUs3KPcEtFbUCU22QhXxl2aE3nRPy_qEK.iohIjQPo8XmWey.MhsnLg-- Received: from [203.82.250.136] by web192205.mail.sg3.yahoo.com via HTTP; Tue, 21 Jan 2014 17:34:50 SGT X-Rocket-MIMEInfo: 002.001, VGhhbmtzIGEgbG90IE1hcnRpIGZvciB5b3VyIHJlc3BvbnNlLgrCoApUaGFua3MsCkFuamFsaQoKCgpPbiBNb25kYXksIDIwIEphbnVhcnkgMjAxNCAzOjI3IFBNLCBNYXJ0aSBSYXVkc2VwcCA8bWFydGlAanVmZm8ub3JnPiB3cm90ZToKICAKT24gTW9uLCBKYW4gMjAsIDIwMTQgYXQgMTE6MjIgQU0swqAgPGFuamFsaV81MjRAeWFob28uY28uaW4.IHdyb3RlOgo.IFRoZSBQb3N0Z3JlcyB2ZXJzaW9uIG9uIHdoaWNoIHRoZSBpc3N1ZSB3YXMgcmVwb3J0ZWQgaXMgOC4yLjIKCkRvIHlvdSByZWFsaXplIHRoYXQBMAEBAQE- X-Mailer: YahooMailWebService/0.8.173.622 References: <20140120092209.26704.92017@wrigleys.postgresql.org> Message-ID: <1390296890.85331.YahooMailNeo@web192205.mail.sg3.yahoo.com> Date: Tue, 21 Jan 2014 17:34:50 +0800 (SGT) From: Anjali Arora Reply-To: Anjali Arora Subject: Re: BUG #8891: Duplicate Primary Key To: Marti Raudsepp Cc: "pgsql-bugs@postgresql.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1409365899-4593364-1390296890=:85331" X-Pg-Spam-Score: -1.5 (-) 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 --1409365899-4593364-1390296890=:85331 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks a lot Marti for your response.=0A=A0=0AThanks,=0AAnjali=0A=0A=0A=0AO= n Monday, 20 January 2014 3:27 PM, Marti Raudsepp wrote:= =0A =0AOn Mon, Jan 20, 2014 at 11:22 AM,=A0 wrote= :=0A> The Postgres version on which the issue was reported is 8.2.2=0A=0ADo= you realize that this version was released almost 7 years ago? The=0Alast = bugfix release in the 8.2 series was 8.2.23, only 2 years ago. If=0Ayou don= 't apply bugfixes then you *will* eventually hit bugs.=0A=0A> I verified th= e issue fix information into postgres release notes=0A> 9.0.4, 9.0.15, and = 9.1 but could not find anything related to this issue.=0A=0AIt was probably= some sort of index corruption, which allowed duplicate=0Avalues to be inse= rted. There have been a dozen bugs of this kind fixed=0Aand it's hard to te= ll which one.=0A=0A> We have upgraded our Postgres version to 9.0.4=0A=0AWa= it, what? 9.0.15 is the most recent version in the 9.0 series. You=0Ashould= *always* use the newest minor version in a series and update=0Awhen new ve= rsions are released. Otherwise you will hit bugs again that=0Ahave been fix= ed for years.=0A=0ARegards,=0AMarti=0A=0A=0A=0A-- =0ASent via pgsql-bugs ma= iling list (pgsql-bugs@postgresql.org)=0ATo make changes to your subscripti= on:=0Ahttp://www.postgresql.org/mailpref/pgsql-bugs --1409365899-4593364-1390296890=:85331 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks a l= ot Marti for your response.
 
= Thanks,
Anjali


On Monday, 20 January 2014 3:= 27 PM, Marti Raudsepp <marti@juffo.org> wrote:
On Mon, Jan 20, 2014 at 11:22 AM,  <anjali_524@yahoo.co.in> wrote:
> The Postgres version on which the issue was reported is 8.2.2

Do you realize that this version was released almost 7 year= s ago? The
last bugfix release in the 8.2 series was 8.2.= 23, only 2 years ago. If
you don't apply bugfixes then yo= u *will* eventually hit bugs.

> I v= erified the issue fix information into postgres release notes
> 9.0.4, 9.0.15, and 9.1 but could not find anything related to thi= s issue.

It was probably some sort of = index corruption, which allowed duplicate
values to be in= serted. There have been a dozen bugs of this kind fixed
a= nd it's hard to tell which one.

> W= e have upgraded our Postgres version to 9.0.4

Wait, what? 9.0.15 is the most recent version in the 9.0 series. = You
should *always* use the newest minor version in a ser= ies and update
when new versions are released. Otherwise you will hit bugs= again that
have been fixed for years.
=
Regards,
Marti



--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make ch= anges to your subscription:
http://www.po= stgresql.org/mailpref/pgsql-bugs


=
--1409365899-4593364-1390296890=:85331--