Re: BUG #5989: Assertion failure on UPDATE of big value

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5989: Assertion failure on UPDATE of big value
Дата
Msg-id 27328.1303313171@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #5989: Assertion failure on UPDATE of big value  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: BUG #5989: Assertion failure on UPDATE of big value  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-bugs
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> The immediate fix is trivial:

> --- a/src/backend/access/heap/heapam.c
> +++ b/src/backend/access/heap/heapam.c
> @@ -2859,7 +2859,7 @@ l2:
>           * Any existing SIREAD locks on the old tuple must be linked to
> the new
>           * tuple for conflict detection purposes.
>           */
> -       PredicateLockTupleRowVersionLink(relation, &oldtup, newtup);
> +       PredicateLockTupleRowVersionLink(relation, &oldtup, heaptup);

Egad.  If that's it, my confidence in the amount of testing SSI has
gotten has just dropped dramatically.

            regards, tom lane

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #5989: Assertion failure on UPDATE of big value
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: BUG #5989: Assertion failure on UPDATE of big value