Re: question about the _SPI_save_plan() and plan cache - Mailing list pgsql-hackers

From Tom Lane
Subject Re: question about the _SPI_save_plan() and plan cache
Date
Msg-id 25310.1248791701@sss.pgh.pa.us
Whole thread Raw
In response to question about the _SPI_save_plan() and plan cache  ("Tao Ma" <feng_eden@163.com>)
List pgsql-hackers
"Tao Ma" <feng_eden@163.com> writes:
> Once we DROP the function, the memory consumed 
> by the plan will be leak.

I'm pretty unconcerned about DROP FUNCTION.  The case that seems worth
worrying about is CREATE OR REPLACE FUNCTION, and in that case we'll
reclaim the storage on the next call of the function.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: [RFC] new digest datatypes, or generic fixed-len hex types?
Next
From: Teodor Sigaev
Date:
Subject: Re: Filtering dictionaries support and unaccent dictionary