Re: Memory leak in nodeAgg

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Memory leak in nodeAgg
Дата
Msg-id 5180.1186445918@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Memory leak in nodeAgg  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> ...  Perhaps we could redefine Reset to mean
> ResetAndDeleteChildren, and add another name for the current Reset
> functionality. ResetAndPreserveChildren, maybe?

Yeah, I was considering exactly that as an interim step.

>> Anyone want to investigate what happens if we make MemoryContextReset
>> the same as MemoryContextResetAndDeleteChildren?

> Sure, I'll take a look, but I'll apply the attached patch in the mean
> time (above cleanup is probably 8.4 material anyway).

Probably, given that we've not noticed any major leaks from other places
that might have the same problem.

            regards, tom lane

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: Memory leak in nodeAgg
Следующее
От: Neil Conway
Дата:
Сообщение: MemoryContextStats tweak: show tree structure