Re: Memory Leaks in plpgsql in 7.0.2 - Mailing list pgsql-general

From Tom Lane
Subject Re: Memory Leaks in plpgsql in 7.0.2
Date
Msg-id 26906.966837162@sss.pgh.pa.us
Whole thread Raw
In response to Memory Leaks in plpgsql in 7.0.2  ("Chris Knight" <chris@aims.com.au>)
List pgsql-general
"Chris Knight" <chris@aims.com.au> writes:
> I've found I've had to do a lot of plpgsql rewriting to avoid memory
> exhaustion due to calling the functions multiple times in the one session.

I believe this has probably been fixed already by the memory context
changes I've been working on --- I think that space allocated in PL
functions will now be reclaimed once per tuple not once per query.
Would you mind trying your problem cases with a current snapshot?

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: regex back-references?
Next
From: "Craig L. Ching"
Date:
Subject: RE: Re: [SQL] database design and diagraming book recom mendations..