logo       

Re: [HACKERS] question about the _SPI_save_plan() and plan cache: msg#01953

pgsql-hackers

Subject: Re: [HACKERS] question about the _SPI_save_plan() and plan cache

"Tao Ma" <feng_eden@xxxxxxx> writes:
> I knew that the delete_function() will reclaim the memory context
> allocated for the function. But I did not find any code for removing
> the plan(SPI plan memory context), saved by calling _SPI_save_plan.

Hmmm ... good point, those probably won't get cleaned up. In an
environment where functions are getting changed constantly, that
might be worth doing.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise