On Thu, Jan 21, 2016 at 3:55 PM, Vladimir Sitnikov
<sitnikov(dot)vladimir(at)gmail(dot)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