Re: wrong search_path being used

From: Erika31 <r(dot)i(dot)k(at)free(dot)fr>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: wrong search_path being used
Date: 2013-04-17 11:00:48
Message-ID: 1366196448816-5752394.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message victor 2013-04-17 17:59:01 BUG #8080: 32-bit ODBC Driver Needs timestamp MetaData Type
Previous Message krzbia 2013-04-17 09:27:46 BUG #8079: pg_ctl is killed by windows service controller due to "Timed out waiting for server startup" event