Re: BUG #5902: pl/pgsql plans are not invalidated on discard all

Поиск
Список
Период
Сортировка
От Ingmar Brouns
Тема Re: BUG #5902: pl/pgsql plans are not invalidated on discard all
Дата
Msg-id AANLkTi=gKPCOKq4RPBNRS-K=3fQj+oD06m2Dfmy=T-0A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #5902: pl/pgsql plans are not invalidated on discard all  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #5902: pl/pgsql plans are not invalidated on discard all  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-bugs
Hi Tom,

thanks for your reply.


> > I was looking for a workaround to this problem, and figured that calling
> > 'discard all', or 'discard plans' should do the trick.
>
> That's not a solution because the plancache module intentionally
> preserves the original search_path value while replanning.  This
> may not be what you wished for, but it's operating as intended,
> and changing it would break other use-cases that work today.
>
>                        regards, tom lane
>

We are weighing our options to deal with this problem.
I'm very interested in the use cases that  will break when using the
current search_path instead of the original search_path when replanning.
Can you tell me what will break?

Thanks,

Ingmar

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

Предыдущее
От: "Sarp Akal"
Дата:
Сообщение: BUG #5903: Turkish encoding problem
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: BUG #5902: pl/pgsql plans are not invalidated on discard all