Re: ALTER SYSTEM SET command to change postgresql.conf parameters - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: ALTER SYSTEM SET command to change postgresql.conf parameters
Date
Msg-id 52B1AA88.1000601@dunslane.net
Whole thread Raw
In response to Re: ALTER SYSTEM SET command to change postgresql.conf parameters  (Tatsuo Ishii <ishii@postgresql.org>)
List 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 by date:

Previous
From: Stephen Frost
Date:
Subject: Re: stats for network traffic WIP
Next
From: Andrew Dunstan
Date:
Subject: Re: [PATCH] SQL assertions prototype