Re: - Proposal for repreparing prepared statements - Mailing list pgsql-hackers

From Tom Lane
Subject Re: - Proposal for repreparing prepared statements
Date
Msg-id 18084.1158185525@sss.pgh.pa.us
Whole thread Raw
In response to Re: - Proposal for repreparing prepared statements  ("Marshall, Steve" <smarshall@wsi.com>)
List pgsql-hackers
"Marshall, Steve" <smarshall@wsi.com> writes:
>> But forcing a reload of pltcl.so is nothing but a kluge --- it leaks
>> memory like there's no tomorrow, and it's only an accident that it fails
>> to crash.  I don't want to design a further kluge on top of it.

> Are you saying that pltcl.so leaks memory in general, or that forcing a
> reload of the pltcl.so library leaks memory?

The latter.  There's no mechanism to release the previous instance's data
structures (Tcl interpreters, function bodies, etc).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jeremy Drake
Date:
Subject: Re: Getting a move on for 8.2 beta
Next
From: Joshua Reich
Date:
Subject: Re: Optimizer improvements: to do or not to do?