Re: BUG #11141: Duplicate primary key values corruption

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #11141: Duplicate primary key values corruption
Дата
Msg-id 20140812204223.GI5728@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на BUG #11141: Duplicate primary key values corruption  (behrmann@ndgf.org)
Ответы Re: BUG #11141: Duplicate primary key values corruption  (Gerd Behrmann <behrmann@ndgf.org>)
Список pgsql-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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Jean LETUTOUR
Дата:
Сообщение: postgresql on freescale i.MX 28 ( armv5)
Следующее
От: "MauMau"
Дата:
Сообщение: Re: BUG #10675: alter database set tablespace and unlogged table