pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Al Presseller <apresseller@commoninf.com>
To: pgsql-jdbc@postgresql.org
Subject: "Cached plan must not change result type" error when switching search_path via explicit execution of SET SEARCH_PATH = ...
Date: Tue, 24 Jan 2017 17:27:20 -0500
Message-ID: <020201d27691$072841e0$1578c5a0$@commoninf.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

The fix for issue #496 ("Cached plan must not change result type" when using
PreparedStatement cache across schemas) doesn't work when the default schema
is being assigned via explicit execution of a SET statement that renders the
search_path keyword in UPPER CASE.   

 

view thread (3+ messages)  latest in thread

Message-ID: <020201d27691$072841e0$1578c5a0$@commoninf.com>
Permalink:  ../020201d27691$072841e0$1578c5a0$@commoninf.com/
Also on:    postgresql.org/message-id/020201d27691$072841e0$1578c5a0$@commoninf.com

 · 

reply

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-jdbc@postgresql.org
  Cc: apresseller@commoninf.com
  Subject: Re: "Cached plan must not change result type" error when switching search_path via explicit execution of SET SEARCH_PATH = ...
  In-Reply-To: <020201d27691$072841e0$1578c5a0$@commoninf.com>
  References: <020201d27691$072841e0$1578c5a0$@commoninf.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