Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 8939A1337C70 for ; Mon, 18 Apr 2011 13:34:42 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 78321-04-3; Mon, 18 Apr 2011 16:34:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id B2D261337FD3; Mon, 18 Apr 2011 13:12:18 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p3IGCF4K023605; Mon, 18 Apr 2011 12:12:15 -0400 (EDT) To: Dave Cramer cc: Bernd Helmle , Steve Singer , PostgreSQL-development Hackers , pgsql-jdbc@postgresql.org Subject: Re: [JDBC] JDBC connections to 9.1 In-reply-to: References: <4DAC3D55.1080606@ca.afilias.info> <20799.1303134278@sss.pgh.pa.us> <1D1444218CDB28801BEEB27D@apophis.local> <4513A768D798800859BAA819@apophis.local> <22092.1303138627@sss.pgh.pa.us> <22630.1303140244@sss.pgh.pa.us> Comments: In-reply-to Dave Cramer message dated "Mon, 18 Apr 2011 11:42:30 -0400" Date: Mon, 18 Apr 2011 12:12:15 -0400 Message-ID: <23604.1303143135@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/897 X-Sequence-Number: 186099 Dave Cramer writes: > On Mon, Apr 18, 2011 at 11:24 AM, Tom Lane wrote: >> Yeah. I'm thinking what we should do here is revert the change, with a >> note in the source about why, and also change the JDBC driver to send >> and expect "UTF8" not "UNICODE" (which as Kevin says is more correct >> anyway). Then in a few releases' time we can un-revert the server >> change. > Well initially my concern was that people would have a challenge in > the case where they had to re-certify their application if we made > this change, however I realize they will have to do this anyway since > upgrading to 9.1 is what necessitates it. I don't see any backwards compatibility risk, if that's what you mean. Every backend release since 7.3 has treated client_encoding 'UTF8' and 'UNICODE' the same, and earlier releases didn't accept either one. regards, tom lane