Re: question about the _SPI_save_plan() and plan cache

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: question about the _SPI_save_plan() and plan cache
Дата
Msg-id 4401.1248924785@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: question about the _SPI_save_plan() and plan cache  ("Tao Ma" <feng_eden@163.com>)
Список pgsql-hackers
"Tao Ma" <feng_eden@163.com> 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: RFD: Don't force plpgsql IN parameters to constant
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Patch for 8.5, transformationHook