BUG #8439: phantom dupe key violation - Mailing list pgsql-bugs

From m.mcinness1@gmail.com
Subject BUG #8439: phantom dupe key violation
Date
Msg-id E1VIMH0-0007nQ-94@wrigleys.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      8439
Logged by:          Michael McInness
Email address:      m.mcinness1@gmail.com
PostgreSQL version: 9.2.0
Operating system:   Ubuntu 12.0.4
Description:

I apologize in advance -- I cannot reproduce this using a backup database
and after deleting one of the rows in question the issue is resolved, but I
feel compelled to report the problem in case there is a similar issue that
is being tracked:


a query such as 'select * from foo where foo_id = 1' on a table with a
primary key created as such: create table foo (foo_id serial primary
key,...) was producing two rows:


 foo_id
--------
      1
      3


Because it's a production system, I needed to address immediately. After
deleting then re-inserting the row with foo_id = 3, the problem went away,
of course. This really happened -- I wouldn't dream of wasting your time!


Thanks and regards,
Michael

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #7730: intarray representation of empty arrays
Next
From: tvees@davincigroep.nl
Date:
Subject: BUG #8441: Recursive function in plpgsql does not seem to handle null values correctly