Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlNLS-0004V8-Vd for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Dec 2012 17:22:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TlNLR-0005Ti-EY for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Dec 2012 17:22:13 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlNLQ-0005T7-GI for pgsql-bugs@postgresql.org; Wed, 19 Dec 2012 17:22:12 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlNLL-00014r-MN for pgsql-bugs@postgresql.org; Wed, 19 Dec 2012 17:22:11 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlNLK-00006l-2o for pgsql-bugs@postgresql.org; Wed, 19 Dec 2012 17:22:07 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TlNLJ-0004w4-IN for pgsql-bugs@postgresql.org; Wed, 19 Dec 2012 17:22:05 +0000 Date: Wed, 19 Dec 2012 17:22:05 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7760: records with duplicate primary keys To: pgsql-bugs@postgresql.org From: acummings@aperiogroup.com X-Pg-Spam-Score: -1.9 (-) 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 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:=20=20=20=20=20=20=20=20 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.=20 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. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs