"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