Re: [PATCHES] PATCH: Memory leaks on start-up - Mailing list pgsql-hackers

From Lee Kindness
Subject Re: [PATCHES] PATCH: Memory leaks on start-up
Date
Msg-id 16157.25052.932860.46049@kelvin.csl.co.uk
Whole thread Raw
In response to Re: [PATCHES] PATCH: Memory leaks on start-up  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane writes:> Lee Kindness <lkindness@csl.co.uk> writes:> > I'd have to disagree with regards to the memory leaks
notbeing worth> > a mention - any such leak can cause problems when the PostgreSQL> > installation is either
unattended,long-living andor has very high> > connection levels.> I don't see how.  We are talking about two strings,
nomore, no less,> that live for exactly the duration of the postmaster run.  Explain to me> how any of your above
conditionswill affect this code in the slightest?
 

For the lock file leak yeah - it's just 2 strings once in a blue
moon. However in the more general case of freeaddrinfo and the eniron
wizardry (which is also leaking, and is done every new instance,
yeah?) it does build up.

Anyway, it's no reason to be lazy/messy, is it?

L.


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: tsearch2 for 7.3.X
Next
From: Josh Berkus
Date:
Subject: Re: dblink_ora - a first shot on Oracle ...