Skip site navigation (1) Skip section navigation (2)

Re: question about the _SPI_save_plan() and plan cache

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Tao Ma" <feng_eden(at)163(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: question about the _SPI_save_plan() and plan cache
Date: 2009-07-28 14:35:01
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
"Tao Ma" <feng_eden(at)163(dot)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

In response to


pgsql-hackers by date

Next:From: Teodor SigaevDate: 2009-07-28 15:01:30
Subject: Re: Filtering dictionaries support and unaccent dictionary
Previous:From: Merlin MoncureDate: 2009-07-28 14:34:36
Subject: Re: [RFC] new digest datatypes, or generic fixed-len hex types?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group