Re: BUG #8656: Duplicate data violating unique constraints - Mailing list pgsql-bugs

From Andres Freund
Subject Re: BUG #8656: Duplicate data violating unique constraints
Date
Msg-id 6bd0b0c6-3d79-4100-8650-27b01b5dd0d8@email.android.com
Whole thread Raw
In response to BUG #8656: Duplicate data violating unique constraints  (maciek@heroku.com)
Responses Re: BUG #8656: Duplicate data violating unique constraints
List pgsql-bugs
Maciek Sakrejda <maciek@heroku.com> schrieb:
>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)

Have you upgraded to 9.3.2?

Andres

--
Please excuse brevity and formatting - I am writing this on my mobile phone.

Andres Freund                       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

pgsql-bugs by date:

Previous
From: Serge Negodyuck
Date:
Subject: Re: BUG #8673: Could not open file "pg_multixact/members/xxxx" on slave during hot_standby
Next
From: Maciek Sakrejda
Date:
Subject: Re: BUG #8656: Duplicate data violating unique constraints