Re: BUG #17462: Invalid memory access in heapam_tuple_lock

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17462: Invalid memory access in heapam_tuple_lock
Дата
Msg-id 288544.1649693991@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #17462: Invalid memory access in heapam_tuple_lock  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #17462: Invalid memory access in heapam_tuple_lock
Список pgsql-bugs
I wrote:
> Reproduced here.  It's surprising that nobody noticed this before,
> because AFAICS the bug is pretty old: it dates to somebody foolishly
> deciding that heap_fetch didn't need its keep_buf argument, which
> evidently happened in v12 (didn't track down the exact commit yet).

The blame falls on Andres' commit 5db6df0c0.  There is no commentary
there justifying this change, and I judge the amount of thought that
went into it by noting that that commit removed the argument without
removing the header comment explaining it.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17462: Invalid memory access in heapam_tuple_lock
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: BUG #17462: Invalid memory access in heapam_tuple_lock