Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 1534E1337B49 for ; Mon, 18 Apr 2011 12:23:55 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 95492-05; Mon, 18 Apr 2011 15:23:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mail.postgresql.org (Postfix) with ESMTP id D45611337B43; Mon, 18 Apr 2011 12:23:43 -0300 (ADT) Received: by wwc33 with SMTP id 33so5176354wwc.19 for ; Mon, 18 Apr 2011 08:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=mbezFIfdOY+byqFSQiDJ4pOvD8YisUnfYN/SV6ioW2c=; b=pUwodzf4UShkAb6NqANzdV6WSeMyte5gJ2bs+bN0IDus4IIZ1lcyH7/bN8XMtVCp0m kdCbwy2deVzrEnvezOXl7aqCpIG6BIMxGPsSPmnElim8sib4vBxUDG1cdIBRCopzLCoj z51R95M0zs/u+hl1pgsOR6cwEyPL/KlVsxuZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=ElNGjCmRNbjCta5k82zwtbo+ScOuIGENcrG5UrKR7m3ZxgBY6430mPaVe1duRsMgP5 iw8rfcTMLD4t/gPzqLOXyis3M0a2AEC5zw2bxMktmtmnLBdkeF2VIGSa5713C1C2VnWg O2u9zcj4MWEN6pQQIWnVf96yJe9YBbe67ktQs= Received: by 10.216.67.199 with SMTP id j49mr5162004wed.59.1303140222244; Mon, 18 Apr 2011 08:23:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.186.198 with HTTP; Mon, 18 Apr 2011 08:23:22 -0700 (PDT) In-Reply-To: <4DAC5540.2000405@mlfowler.com> References: <4DAC3D55.1080606@ca.afilias.info> <20799.1303134278@sss.pgh.pa.us> <1D1444218CDB28801BEEB27D@apophis.local> <4513A768D798800859BAA819@apophis.local> <22092.1303138627@sss.pgh.pa.us> <4DAC5540.2000405@mlfowler.com> From: Dave Cramer Date: Mon, 18 Apr 2011 11:23:22 -0400 X-Google-Sender-Auth: rI2_d3G-NK-RY5S5x2lEC_CqG_w Message-ID: Subject: Re: [JDBC] JDBC connections to 9.1 To: Mike Fowler Cc: Tom Lane , Bernd Helmle , Steve Singer , PostgreSQL-development Hackers , pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.898 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RFC_ABUSE_POST=0.001 X-Spam-Level: X-Archive-Number: 201104/889 X-Sequence-Number: 186091 On Mon, Apr 18, 2011 at 11:14 AM, Mike Fowler wrote: > On 18/04/11 15:57, Tom Lane wrote: >> >> Bernd Helmle =A0writes: >>> >>> If i am reading it correct, it reads "UTF8" from the backend, while >>> expecting "UNICODE" only. Not sure what change has caused this, >>> though. >> >> I am --- when I redid the GUC assign_hook logic a few weeks ago, >> I changed the client_encoding code so that it shows the normalized >> (official) name of the encoding, not whatever random string the client >> sent over. =A0For instance, previous versions: >> >> regression=3D# set client_encoding =3D 'UnIcOdE'; >> SET >> regression=3D# show client_encoding ; >> =A0client_encoding >> ----------------- >> =A0UnIcOdE >> (1 row) >> >> versus HEAD: >> >> regression=3D# set client_encoding =3D 'UnIcOdE'; >> SET >> regression=3D# show client_encoding ; >> =A0client_encoding >> ----------------- >> =A0UTF8 >> (1 row) >> >> I wasn't aware that JDBC would fail on that. =A0It's pretty annoying tha= t >> it does, but maybe we should grin and bear it, ie revert the change to >> canonicalize the GUC's value? >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0regards, tom lane >> > Am I right in thinking that would be that change committed on the 7th > (http://archives.postgresql.org/pgsql-committers/2011-04/msg00039.php) ? > I've just run the JDBC test build on my machine and it fails dismally wit= h > this very message repeated over and over again. What concerns me most is > that (assuming my dates are right) the JDBC driver has been broken for 11 > days and no one noticed. This would lead me to believe that there is no J= DBC > build server. What would it take to set one up? If someone can point me t= o a > test machine I'd happily assist in setting one up. > > As for the breakage itself I'm OK with a new driver version for a new > database version and from my experience people expect that. I recall a > number of people asking me if an 8.4 driver would be OK to use against 9 > before the 9 version was stable. > > Regards, > One would need a machine which supports java 1.4, 1.5, and 1.6 since the driver builds all 3 versions. There's actually a 4th between 1.4 and 1.5 but I don't recall the specifics Dave > -- > Mike Fowler > Registered Linux user: 379787 > > > -- > Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-jdbc >