Re: leaks in TopMemoryContext? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: leaks in TopMemoryContext?
Date
Msg-id 11902.1136991222@sss.pgh.pa.us
Whole thread Raw
In response to Re: leaks in TopMemoryContext?  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> While I agree the problem isn't a showstopper, I think it is still
> worthy of concern: the mbutils example was chosen for being clearly
> broken, not as being the most serious instance of the problem. The issue
> might occur in *any* situation in which we're allocating memory in a
> memory context whose lifetime exceeds the current transaction -- I
> haven't looked to see what other places might need fixing.

There's very little code that runs in TopMemoryContext (by design), so
I don't think you'll find much.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Milen Kulev"
Date:
Subject: PG process architecture
Next
From: Andrew Dunstan
Date:
Subject: Re: plperl vs LC_COLLATE (was Re: Possible savepoint bug)