Re: Which MemoryContext?

Поиск
Список
Период
Сортировка
От Gevik Babakhani
Тема Re: Which MemoryContext?
Дата
Msg-id 004101c8741b$a67b3310$0a01a8c0@gevmus
обсуждение исходный текст
Ответ на Re: Which MemoryContext?  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Ответы Re: Which MemoryContext?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
> On backend exit, everything in TopMemoryContext, like all 
> other non-shared memory, is automatically released.
> 

So it is safe to not free the allocated memory in TopMemoryContext and leave
it to be released on backend exit.
Thank you for the help :)

Regards,
Gevik.




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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Permanent settings
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Permanent settings