Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/07/12 00:07, Tom Lane wrote:
Toby Corkindale <toby.corkindale@xxxxxxxxxxxxxxxxxxxx> 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

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux