Re: wrong search_path being used

Поиск
Список
Период
Сортировка
От Erika31
Тема Re: wrong search_path being used
Дата
Msg-id 1366196448816-5752394.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: wrong search_path being used  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi Tom,

Why not implement a session/database option to use (or not) the replanning
of such functions. This would allow existing PG clusters to behave as they
historically did, and would simultaneously allow users who want to have
benefit of dynamically changing "search_path" inside a function to obtain
the expected result.

IMO, the query plan cache is a huge mistake, if it couldn't be disabled (in
another way than using EXECUTE). Perhaps based on the volatility of the
function ?
I intensively use schemas in a "heavy" PG database (understand
business-oriented logic db) and I'm today blocked by not being able to
select schemas in functions called several times in a session, leading to
wrong results. If performance is a good thing, getting the expected result
is primordial.

Lastly, is it planned to resolve this bug quickly ?

Thanks for your attention - and your involvement in PG project ;-)




--
View this message in context:
http://postgresql.1045698.n5.nabble.com/wrong-search-path-being-used-tp5739027p5752394.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

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

Предыдущее
От: "Sofer, Yuval"
Дата:
Сообщение: general question and BUG #5038
Следующее
От: krzbia@interia.pl
Дата:
Сообщение: BUG #8079: pg_ctl is killed by windows service controller due to "Timed out waiting for server startup" event