Re: ALTER SYSTEM SET command to change postgresql.conf parameters
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Tatsuo Ishii <ishii@postgresql.org>
Cc: amit.kapila16@gmail.com, haribabu.kommi@huawei.com,
pgsql-hackers@postgresql.org
Date: 2013-12-18T14:00:40Z
Lists: 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