Re: ALTER SYSTEM SET command to change postgresql.conf parameters

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: ALTER SYSTEM SET command to change postgresql.conf parameters
Дата
Msg-id 52B1AA88.1000601@dunslane.net
обсуждение исходный текст
Ответ на Re: ALTER SYSTEM SET command to change postgresql.conf parameters  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
On 12/18/2013 03:35 AM, Tatsuo Ishii wrote:
> 3) initdb.c
>
> It seems the memory allocated for autoconflines[0] and
> autoconflines[1] by pg_strdup is never freed.
>
> (I think there's similar problem with "conflines" as well, though it
> was not introduced by the patch).
>


Why would we care? initdb doesn't run for very long, and the memory will 
be freed when it exits, usually within a few seconds. My recollection 
from back when I originally rewrote initdb in C was that cleaning up the 
memory leaks wasn't worth the trouble.

cheers

andrew



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: stats for network traffic WIP
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [PATCH] SQL assertions prototype