Re: BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset
Дата
Msg-id 1073615.1757387109@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset  (feichanghong <feichanghong@qq.com>)
Ответы 回复:BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset
Список pgsql-bugs
feichanghong <feichanghong@qq.com> writes:
> For v04-0002, I checked the commit history, and before commit 133924e1,
> buildSubPlanHash was using ecxt_per_tuple_memory. It seems that the
> "Subplan HashTable Temp Context" was introduced in order to fix a certain bug.

It was a different ExprContext's ecxt_per_tuple_memory, though.
This one is owned locally by the TupleHashTable.

            regards, tom lane



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