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

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: BUG #5989: Assertion failure on UPDATE of big value
Дата
Msg-id 4DAEEAC1020000250003CAB7@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: BUG #5989: Assertion failure on UPDATE of big value  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #5989: Assertion failure on UPDATE of big value  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane <tgl@sss.pgh.pa.us> wrote:

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

If I'm reading this correctly, it would appear that nobody has
updated anything to a TOASTed value in a build against HEAD in
testing *anything* in the last two and a half months.  And the
regression tests don't include a single UPDATE to a TOASTed value
anywhere.  That seems like a significant code coverage deficiency.

Attached is a patch to cure the latter of these.  I'm submitting
this separately since it seems a good idea regardless of what
happens with the related SSI issue.

It is, of course, no excuse for making a dumb mistake like that, but
it wouldn't have survived the day on my machine or Dan's, much less
been submitted as a patch or committed, with the attached general
test of update-to-TOAST functionality in the regression tests.

-Kevin


Вложения

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

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