From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: behrmann@ndgf.org
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #11141: Duplicate primary key values corruption
Date: Tue, 12 Aug 2014 16:42:23 -0400
Message-ID: <20140812204223.GI5728@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <20140811083748.2536.10437@wrigleys.postgresql.org>
References: <20140811083748.2536.10437@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
behrmann@ndgf.org wrote:
> We have observed two rows with the same primary key in one of our production
> databases. We don't know how to reproduce this problem, but given that this
> looks like a corruption bug, I figure you will want to know about this.
Can you please install extension pageinspect, then grab the TIDs of both
copies (select ctid from srmlinkgroup where id = ..), then post the
output of:
select *
from heap_page_items(get_raw_page('srmlinkgroup', BLKNO))
where lp = (OFFNO)
where the BLKNO value is the first half of the TID, and OFFNO is the
second half of the TID, for each of those tuples?
Please attach the results in text files rather than pasting in the
email, as whitespace is mangled by your mail program.
Thanks
--
Álvaro Herrera 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: alvherre@2ndquadrant.com, behrmann@ndgf.org
Subject: Re: BUG #11141: Duplicate primary key values corruption
In-Reply-To: <20140812204223.GI5728@eldon.alvh.no-ip.org>
References: <20140811083748.2536.10437@wrigleys.postgresql.org> <20140812204223.GI5728@eldon.alvh.no-ip.org>
* 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