Re: Bug? Prepared queries continue to use search_path from their preparation time

Поиск
Список
Период
Сортировка
От Toby Corkindale
Тема Re: Bug? Prepared queries continue to use search_path from their preparation time
Дата
Msg-id 4FFE25EA.3010707@strategicdata.com.au
обсуждение исходный текст
Ответ на Re: Bug? Prepared queries continue to use search_path from their preparation time  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Bug? Prepared queries continue to use search_path from their preparation time  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-general
On 12/07/12 00:07, Tom Lane wrote:
> Toby Corkindale <toby.corkindale@strategicdata.com.au> writes:
>> The issue occurs when you have server-side prepared queries enabled, and
>> then change the search_path parameter after creating a prepared query.
>> Future executions of that query still seem to be using the original
>> search_path.
>
> This behavior is intentional.

In that case, the error lies with the Perl libraries that automatically
prepare and cache queries, but do not include the search_path in the
cache keys.

I'll bring it up with them.

thanks for your advice,
Toby

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Sequence moves forward when failover is triggerred
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: PostgreSQL limitations question