Re: BUG #8656: Duplicate data violating unique constraints

From: Maciek Sakrejda <maciek(at)heroku(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8656: Duplicate data violating unique constraints
Date: 2013-12-10 17:36:04
Message-ID: CAKwe89BjoekBGXKJfnWt+ChjoUrbuQ7+rsA9R+seT9u6iNXhTQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

By the way, the customer has run into the issue *again* now since deleting
the duplicate rows about a week ago. There are three duplicates now. Again,
everything is identical between the versions except for the ctid. The
xmin/xmax are also identical:

=> select ctid, xmin, xmax, id from post where id in (1877554, 1885823,
1885824);
ctid | xmin | xmax | id
------------+---------+---------+---------
(28771,35) | 1651525 | 1651525 | 1877554
(28778,29) | 1651525 | 1651525 | 1877554
(28771,37) | 1651525 | 1651525 | 1885823
(28778,33) | 1651525 | 1651525 | 1885823
(28771,36) | 1651525 | 1651525 | 1885824
(28778,31) | 1651525 | 1651525 | 1885824
(6 rows)

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2013-12-10 17:44:39 Re: BUG #8656: Duplicate data violating unique constraints
Previous Message Serge Negodyuck 2013-12-10 13:22:49 Re: BUG #8673: Could not open file "pg_multixact/members/xxxx" on slave during hot_standby