From: Andres Freund <andres@2ndquadrant.com>
To: maciek@heroku.com
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8656: Duplicate data violating unique constraints
Date: Thu, 5 Dec 2013 02:33:07 +0100
Message-ID: <20131205013307.GC8935@awork2.anarazel.de> (raw)
In-Reply-To: <E1VoIgB-0005Ok-3X@wrigleys.postgresql.org>
References: <E1VoIgB-0005Ok-3X@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2013-12-04 20:04:15 +0000, maciek@heroku.com wrote:
> Bug reference: 8656
> Logged by: Maciek Sakrejda
> Email address: maciek@heroku.com
> PostgreSQL version: 9.3.1
> Operating system: Ubuntu 12.04 LTS 64-bit
> Description:
>
> A customer has run into an issue where data in a single table was apparently
> duplicated somehow, violating the unique constraint imposed by the primary
> key:
This quite possibly is an instance of the second item mentioned on
http://www.postgresql.org/docs/devel/static/release-9-3-2.html (upcoming
release). Note that, due to time constraints, the fix isn't perfect, but
it will prevent that sort of issue.
Did you ever do a VACUUM FREEZE? Do you have significant concurrency?
Could you please send the output of pg_controldata and SELECT
relfrozenxid, relminmxid FROM pg_class WHERE oid =
'tablename'::regclass;?
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: andres@2ndquadrant.com, maciek@heroku.com, alvherre@2ndquadrant.com
Subject: Re: BUG #8656: Duplicate data violating unique constraints
In-Reply-To: <20131205013307.GC8935@awork2.anarazel.de>
References: <E1VoIgB-0005Ok-3X@wrigleys.postgresql.org> <20131205013307.GC8935@awork2.anarazel.de>
* 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