pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: acummings@aperiogroup.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7760: records with duplicate primary keys
Date: Wed, 19 Dec 2012 17:22:05 +0000
Message-ID: <E1TlNLJ-0004w4-IN@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      7760
Logged by:          Alan Cummings
Email address:      acummings@aperiogroup.com
PostgreSQL version: 9.1.7
Operating system:   Ubuntu Linux 10.04.1
Description:        

We found 6 duplicated primary keys in a table. All fields were identical in
the duplicated records, including the primary key. (Total records ~ 22,000).
We recently updated from 9.1.2 to 9.1.7, so the issue may have been present
in 9.1.2. 

We have fixed the issue in our table by backing up the table in pgAdmin to a
plain file, deleting the duplicated records in the text file, then restoring
the table.

I can send the original backup with the duplicated records if that would be
helpful -- it is about 11MB.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)  latest in thread

Message-ID: <E1TlNLJ-0004w4-IN@wrigleys.postgresql.org>
Permalink:  ../E1TlNLJ-0004w4-IN@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1TlNLJ-0004w4-IN@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: acummings@aperiogroup.com
  Subject: Re: BUG #7760: records with duplicate primary keys
  In-Reply-To: <E1TlNLJ-0004w4-IN@wrigleys.postgresql.org>
  References: <E1TlNLJ-0004w4-IN@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox