From: Erika31 <r.i.k@free.fr>
To: pgsql-bugs@postgresql.org
Subject: Re: wrong search_path being used
Date: Wed, 17 Apr 2013 04:00:48 -0700 (PDT)
Message-ID: <1366196448816-5752394.post@n5.nabble.com> (raw)
In-Reply-To: <14893.1357586247@sss.pgh.pa.us>
References: <50EB18E9.8020202@gmail.com>
<14893.1357586247@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: r.i.k@free.fr
Subject: Re: wrong search_path being used
In-Reply-To: <1366196448816-5752394.post@n5.nabble.com>
References: <50EB18E9.8020202@gmail.com> <14893.1357586247@sss.pgh.pa.us> <1366196448816-5752394.post@n5.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox