Re: Shouldn't validateForeignKeyConstraint() reset memory context?

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: Shouldn't validateForeignKeyConstraint() reset memory context?
Дата
Msg-id
20190408055339.5u72z6thhrti6ksg@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
Shouldn't validateForeignKeyConstraint() reset memory context? Andres Freund <andres@anarazel.de>
Re: Shouldn't validateForeignKeyConstraint() reset memory context? Andres Freund <andres@anarazel.de>
Hi,

On 2018-07-11 11:56:28 -0700, Andres Freund wrote:
> 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.

This has been fixed since. See https://www.postgresql.org/message-id/20190408055302.qirqcbnhjxwsxq3m%40alap3.anarazel.de

- Andres


В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
От: Andres Freund
Дата:
FAQ