Re: Re: [COMMITTERS] pgsql: Fix plpgsql to release SPI plans when a function or DO block is - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Re: [COMMITTERS] pgsql: Fix plpgsql to release SPI plans when a function or DO block is
Date
Msg-id 17997.1301279501@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Fix plpgsql to release SPI plans when a function or DO block is  (David Fetter <david@fetter.org>)
Responses Re: Re: [COMMITTERS] pgsql: Fix plpgsql to release SPI plans when a function or DO block is
List pgsql-hackers
David Fetter <david@fetter.org> writes:
> On Sun, Mar 27, 2011 at 04:51:13PM +0000, Tom Lane wrote:
>> Fix plpgsql to release SPI plans when a function or DO block is freed.

> Do the other PLs we ship need similar fixes?

Offhand I think the other PLs leave management of prepared plans to the
user.  If there are any places where they cache plans behind the scenes,
maybe a similar fix would be appropriate.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Lock problem with autovacuum truncating heap
Next
From: Tom Lane
Date:
Subject: Re: Lock problem with autovacuum truncating heap