On Mon, Jan 25, 2016 at 2:11 PM, Vladimir Sitnikov
<sitnikov.vladi...@gmail.com> wrote:
> I want to treat 'prepare' operation as an optimization step, so it is 
> functionally equivalent to sending a query text.
>
> In other words, I would like backend to track search_path and other 
> parameters if necessary transparently‎, creating (caching) different 
> execution plans if different plans are required.
> ‎
> Does that make sense?‎

Hmm, so in your example, you actually want replanning to be able to
change the cached plan's result type?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Reply via email to