Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWSwo-0005Xx-Tr for pgsql-jdbc@arkaria.postgresql.org; Wed, 25 Jan 2017 19:09:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cWSwo-0004x5-CB for pgsql-jdbc@arkaria.postgresql.org; Wed, 25 Jan 2017 19:09:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cWSwn-0004wn-Qo for pgsql-jdbc@postgresql.org; Wed, 25 Jan 2017 19:09:33 +0000 Received: from mail-qt0-x231.google.com ([2607:f8b0:400d:c0d::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cWSwj-0000K9-7J for pgsql-jdbc@postgresql.org; Wed, 25 Jan 2017 19:09:32 +0000 Received: by mail-qt0-x231.google.com with SMTP id k15so33473778qtg.3 for ; Wed, 25 Jan 2017 11:09:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=commoninf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:thread-index:content-language; bh=zhujoBgN+/+6F0DbCaqsPSDpAuAtDq8W/QbiDsW0PWc=; b=wAUR4aJxSXw3+eeBkZ1nGBejIYYcXYMfEq73pLJV7jqZ6+GpC/htGB/W5L999vZM/L ZiFWcP9Ymrong4R3iuzFCNS3t3nLmKDByc6H314RZhgHAdHykX87X+TIHsc5XXBwrKCW 4oPQ0A5KP1wXHDV3IBe9Cl7f5uAkDWWKsb/vKBqY8OsFnKV+ZLMsvWPMbknhvOQ/MTSJ DfuapTzHPtbfJBn/aaQyk1tnKN/hfP7UqdecPLpiupFlXsWklh0Qba38TA/wuMWoPPoa 5ecB4pUXV9CCnNNmyx4jZvRf/M1t2EZ7ijpvyTMMvNPYBNyxd8pSH48cPRdeHe50X5Ui U7jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:thread-index:content-language; bh=zhujoBgN+/+6F0DbCaqsPSDpAuAtDq8W/QbiDsW0PWc=; b=MxZ3/l6Cm1I0Lj4Jcj9CYTujT9ZlcKiNQLcbzlHo0BoI/DHD+0VDExaZkHDar0dGVR pR/uSGWBoYPB4bqWnBuz3BT4Xoa+2OtW/aKOoqSXuBVof2hvRAzfLPMw2MDhaxTIBhkO vcNzlnE9wUyd4NU7K04MIw3AsjozqXYaU2G43O0aFt82QdCwNCCmQxqD1Zzcg/QGgieJ KYtffAWvLY9vqGfL5CYTTEDmeDw7nM97SLhvrZDjmF68I0nMpu1ORebE79KGSim1p1Ge 3R60vyxMu+pwSuqP8gUbg4yob47itqmAV6lSfuavojMjjFx8Mem3WjSv3zc05jA1/8Bn xHFA== X-Gm-Message-State: AIkVDXIHr0E7VMubLTbm1fi9h/zKIzNjm7zMfjSTTuEhSDeVEl1x/sehIPSu66BfpxaY2g== X-Received: by 10.55.116.68 with SMTP id p65mr14253866qkc.215.1485371367372; Wed, 25 Jan 2017 11:09:27 -0800 (PST) Received: from apresseller-PC (ool-457bf2a3.dyn.optonline.net. [69.123.242.163]) by smtp.gmail.com with ESMTPSA id a54sm19560774qta.48.2017.01.25.11.09.26 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 25 Jan 2017 11:09:26 -0800 (PST) Received: from apressellerPC by apresseller-PC (PGP Universal service); Wed, 25 Jan 2017 14:09:25 -0500 X-PGP-Universal: processed; by apresseller-PC on Wed, 25 Jan 2017 14:09:25 -0500 From: "Al Presseller" To: "'Vladimir Sitnikov'" Cc: References: <020201d27691$072841e0$1578c5a0$@commoninf.com> In-Reply-To: Subject: Re: "Cached plan must not change result type" error when switching search_path via explicit execution of SET SEARCH_PATH = ... Date: Wed, 25 Jan 2017 14:09:24 -0500 Message-ID: <031601d2773e$8b5225a0$a1f670e0$@commoninf.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0317_01D27714.A27CE0F0" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQKXw0tLwC9RCvhAp41FqleMvFeuowG+gs3/n7ECMbA= Content-Language: en-us X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org This is a multipart message in MIME format. ------=_NextPart_000_0317_01D27714.A27CE0F0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Vladimir, =20 Thank you for the timely response. =20 I am new to this community. Can you provide specifics as to how I would = go about bringing this to the attention of the =E2=80=9Cpostgresql = developers=E2=80=9D =E2=80=93 that is, I=E2=80=99m not sure if = you=E2=80=99re directing me to send this same message out to the = pqsql-hackers mailing list, or to submit a bug report via the form = located at www.postgresql.org/account/submitbug/ = , or maybe to do = something else, altogether. =20 And yes, in the mean time we can work with the lowercase style just fine = (the hard part was figuring out the cause of the bad behavior). =20 --Al =20 =20 From: Vladimir Sitnikov [mailto:sitnikov.vladimir@gmail.com]=20 Sent: Tuesday, January 24, 2017 5:34 PM To: Al Presseller Cc: pgsql-jdbc@postgresql.org Subject: Re: [JDBC] "Cached plan must not change result type" error when = switching search_path via explicit execution of SET SEARCH_PATH =3D ... =20 That's unfortunate. =20 Would you please report that ustream? (I mean to the postgresql = developers) =20 The thing is it would be so much easier if pgjdbc would not have to = parse SQL in order to identify if the statement was "set search_path". =20 In the mean time: is lowercase style fine for you? =20 Vladimir =D1=81=D1=80, 25 =D1=8F=D0=BD=D0=B2. 2017 =D0=B3. =D0=B2 1:27, Al = Presseller = >: The fix for issue #496 ("Cached plan must not change result type" when = using PreparedStatement cache across schemas) doesn=E2=80=99t work when = the default schema is being assigned via explicit execution of a SET = statement that renders the search_path keyword in UPPER CASE. =20 =20 ------=_NextPart_000_0317_01D27714.A27CE0F0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi Vladimir,

 

Thank you for the timely response.

 

I am new to this community.  Can you provide specifics as to how I = would go about bringing this to the attention of the =E2=80=9Cpostgresql = developers=E2=80=9D =E2=80=93 that is, I=E2=80=99m not sure if = you=E2=80=99re directing me to send this same message out to the = pqsql-hackers mailing list, or to submit a bug report via the form = located at www.postgresql.org/= account/submitbug/, or maybe to do something else, = altogether.

 

And yes, in the mean time we can work with the lowercase style just = fine (the hard part was figuring out the cause of the bad = behavior).

 

--Al

 

 

From:<= /b> = Vladimir Sitnikov [mailto:sitnikov.vladimir@gmail.com]
Sent: = Tuesday, January 24, 2017 5:34 PM
To: Al Presseller = <apresseller@commoninf.com>
Cc: = pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] "Cached = plan must not change result type" error when switching search_path = via explicit execution of SET SEARCH_PATH =3D = ...

 

That's = unfortunate.

 

Would you please report that ustream? (I mean to the = postgresql developers)

 

The thing is it would be so much easier if pgjdbc = would not have to parse SQL in order to identify if the statement was = "set search_path".

 

In the mean time: is lowercase style fine for = you?

 

Vladimir

=D1=81=D1=80, 25 =D1=8F=D0=BD=D0=B2. 2017 =D0=B3. = =D0=B2 1:27, Al Presseller <apresseller@commoninf.com&g= t;:

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

 <= /o:p>

------=_NextPart_000_0317_01D27714.A27CE0F0--