Обсуждение: replanning Prepared Statements ?

Поиск
Список
Период
Сортировка

replanning Prepared Statements ?

От
"Sahagian, David"
Дата:

I see in the Release Notes for 9.3 beta . . .

 

  “Force cached functions to be replanned if the search_path changes (Tom Lane)

  Previously functions already run in the current session ignored search_path changes.”

 

Question:

  Do Prepared Statements also get replanned, if the search_path changes ?

 

Thanks,

-dvs-

Re: replanning Prepared Statements ?

От
Naveed Shaikh
Дата:
Hi,

Please follow the below link for the release notes:


Hope this helps.


--
Thanks & Regards,
Naveed Shaikh



On Mon, May 13, 2013 at 11:53 PM, Sahagian, David <david.sahagian@emc.com> wrote:

I see in the Release Notes for 9.3 beta . . .

 

  “Force cached functions to be replanned if the search_path changes (Tom Lane)

  Previously functions already run in the current session ignored search_path changes.”

 

Question:

  Do Prepared Statements also get replanned, if the search_path changes ?

 

Thanks,

-dvs-


Re: replanning Prepared Statements ?

От
Tom Lane
Дата:
"Sahagian, David" <david.sahagian@emc.com> writes:
> I see in the Release Notes for 9.3 beta . . .
>   "Force cached functions to be replanned if the search_path changes (Tom Lane)
>   Previously functions already run in the current session ignored search_path changes."

> Question:
>   Do Prepared Statements also get replanned, if the search_path changes ?

Yes ... that release note text still needs work, it's really about any
cached plan, which affects more than just functions.

            regards, tom lane


Re: replanning Prepared Statements ?

От
Bruce Momjian
Дата:
On Mon, May 13, 2013 at 02:39:17PM -0400, Tom Lane wrote:
> "Sahagian, David" <david.sahagian@emc.com> writes:
> > I see in the Release Notes for 9.3 beta . . .
> >   "Force cached functions to be replanned if the search_path changes (Tom Lane)
> >   Previously functions already run in the current session ignored search_path changes."
>
> > Question:
> >   Do Prepared Statements also get replanned, if the search_path changes ?
>
> Yes ... that release note text still needs work, it's really about any
> cached plan, which affects more than just functions.

OK, attached release note patch applied.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Вложения