pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Maciek Sakrejda <maciek@heroku.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8656: Duplicate data violating unique constraints
Date: Thu, 5 Dec 2013 10:15:29 +0100
Message-ID: <20131205091529.GD28793@alap2.anarazel.de> (raw)
In-Reply-To: <CAKwe89A0HjOZRpZuqj70zF1QvmOxTcALNEL=a6AQdQTe+dzGKQ@mail.gmail.com>
References: <E1VoIgB-0005Ok-3X@wrigleys.postgresql.org>
	<20131205013307.GC8935@awork2.anarazel.de>
	<CAKwe89A0HjOZRpZuqj70zF1QvmOxTcALNEL=a6AQdQTe+dzGKQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2013-12-04 21:29:21 -0800, Maciek Sakrejda wrote:
> Interesting. That very well could be the issue. I didn't this affected
> primaries.

Well, it's a different, 9.3 only,bug, to the replication one.

> Latest checkpoint's NextXID:          0/1579944
> Latest checkpoint's NextMultiXactId:  592631
> 
> From the description, I can't tell what this means: does this either confim
> or refute that this database was affected?

It doesn't say anything definitive either way. Do you run with any
non-default settings? Possibly vacuum_freeze_min_age,
vacuum_freeze_table_age, autovacuum_freeze_max_age?

Could you do:
SELECT ctid FROM post WHERE rows_re_affected;
That will spin out a bunch of rows like '(page,item)'.
With that page could you do:
CREATE EXTENSION pageinspect;
SELECT * FROM page_header(get_raw_page('post', page_from_above));
SELECT * FROM heap_page_items(get_raw_page('post', page_from_above));

and post that here?

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



view thread (16+ messages)  latest in thread

Message-ID: <20131205091529.GD28793@alap2.anarazel.de>
Permalink:  ../20131205091529.GD28793@alap2.anarazel.de/
Also on:    postgresql.org/message-id/20131205091529.GD28793@alap2.anarazel.de

 · 

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: andres@2ndquadrant.com, maciek@heroku.com, alvherre@2ndquadrant.com
  Subject: Re: BUG #8656: Duplicate data violating unique constraints
  In-Reply-To: <20131205091529.GD28793@alap2.anarazel.de>
  References: <E1VoIgB-0005Ok-3X@wrigleys.postgresql.org> <20131205013307.GC8935@awork2.anarazel.de> <CAKwe89A0HjOZRpZuqj70zF1QvmOxTcALNEL=a6AQdQTe+dzGKQ@mail.gmail.com> <20131205091529.GD28793@alap2.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