On Thu, Jan 21, 2016 at 3:55 PM, Vladimir Sitnikov <sitnikov.vladi...@gmail.com> wrote: > Robert>Are you really seeing the same behavior in all versions? > > I do not have "pre 9.1" at hand, however all 9.1, 9.2, 9.3, 9.4, and > 9.5 are affected. > > 9.1 just silently executes "old statement" as if search_path was not > modified at all. > 9.2, 9.3, 9.4, and 9.5 all fail with "cached plan must not change > result type" error.
What is the ideal behavior, in your view? -- 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