Re: BUG #16190: The usage of NULL pointer in refint.c

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: BUG #16190: The usage of NULL pointer in refint.c
Дата
Msg-id 20200106064918.GS3598@paquier.xyz
обсуждение исходный текст
Ответ на Re: BUG #16190: The usage of NULL pointer in refint.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Mon, Jan 06, 2020 at 01:21:35AM -0500, Tom Lane wrote:
> Yeah, if somebody wanted to fix this, the right way is to replace
> these malloc calls with pallocs.  Some investigation would be needed
> about which context to use.

It seems to me that this would be TopMemoryContext.  All the plans
used for the checks are kept within the context of the session.
--
Michael

Вложения

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