Michael Akinde <michael(dot)akinde(at)met(dot)no> writes:
> Tom Lane wrote:
>> Hmm, I cannot replicate any memory leak with your example.
>> I'm testing 8.2.6 (well, really 8.2 branch tip) not 8.2.5, but I
>> don't recall that there were any recent fixes in this area.
>> Perhaps there is some contributing factor you didn't mention?
>>
> No doubt. I'm not sure what it would be, though.
Just to avoid some possibly-wasted time, please update to 8.2.6 and
confirm you still see the problem, before trying to extract a test case.
I'm certain there are no relevant post-8.2.6 fixes, but I might have
forgotten something relevant since 8.2.5.
regards, tom lane