Re: Triggered assertion "!(tp.t_data->t_infomask & HEAP_XMAX_INVALID)" in heap_delete() on HEAD [PATCH]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Triggered assertion "!(tp.t_data->t_infomask & HEAP_XMAX_INVALID)" in heap_delete() on HEAD [PATCH]
Дата
Msg-id 18238.1292357920@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Triggered assertion "!(tp.t_data->t_infomask & HEAP_XMAX_INVALID)" in heap_delete() on HEAD [PATCH]  (Florian Pflug <fgp@phlo.org>)
Ответы Re: Triggered assertion "!(tp.t_data->t_infomask & HEAP_XMAX_INVALID)" in heap_delete() on HEAD [PATCH]  (Florian Pflug <fgp@phlo.org>)
Список pgsql-hackers
Florian Pflug <fgp@phlo.org> writes:
> In the process of re-verifying my serializable lock consistency patch, I ran
> the fk_concurrency testsuite against *unpatched* HEAD for comparison.

> My build of HEAD had asserts enabled, and I promptly triggered
>     Assert(!(tp.t_data->t_infomask & HEAP_XMAX_INVALID))
> in heap_delete().

> The seems wrong, if result was set to HeapTupleUpdated because the tuple was invisible
> to the crosscheck snapshot, its xmax may very well be invalid.

This patch seems certainly wrong.  Please provide an actual test case
rather than just asserting we should change this.
        regards, tom lane


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: hstores in pl/python
Следующее
От: Florian Pflug
Дата:
Сообщение: Re: Triggered assertion "!(tp.t_data->t_infomask & HEAP_XMAX_INVALID)" in heap_delete() on HEAD [PATCH]