Shouldn't validateForeignKeyConstraint() reset memory context?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Shouldn't validateForeignKeyConstraint() reset memory context?
Дата
Msg-id 20180711185628.mrvl46bjgk2uxoki@alap3.anarazel.de
обсуждение исходный текст
Ответы Re: Shouldn't validateForeignKeyConstraint() reset memory context?
Список pgsql-hackers
Hi,

while looking at the pluggable storage patch I noticed that
validateForeignKeyConstraint() calls RI_FKey_check() for each row
without resetting a memory / expression context.  There's not too much
leakage in the called code, but there's some I think.

Greetings,

Andres Freund


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

Предыдущее
От: Nico Williams
Дата:
Сообщение: Re: [HACKERS] [PATCH] WIP Add ALWAYS DEFERRED option for constraints
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] [PATCH] WIP Add ALWAYS DEFERRED option for constraints