pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Fowler <mike@mlfowler.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bernd Helmle <mailings@oopsware.de>
Cc: Steve Singer <ssinger@ca.afilias.info>
Cc: PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] JDBC connections to 9.1
Date: Mon, 18 Apr 2011 16:14:08 +0100
Message-ID: <4DAC5540.2000405@mlfowler.com> (raw)
In-Reply-To: <22092.1303138627@sss.pgh.pa.us>
References: <4DAC3D55.1080606@ca.afilias.info>
	<20799.1303134278@sss.pgh.pa.us>
	<1D1444218CDB28801BEEB27D@apophis.local>
	<4513A768D798800859BAA819@apophis.local>
	<22092.1303138627@sss.pgh.pa.us>

On 18/04/11 15:57, Tom Lane wrote:
> Bernd Helmle<mailings@oopsware.de>  writes:
>> 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.  For instance, previous versions:
>
> regression=# set client_encoding = 'UnIcOdE';
> SET
> regression=# show client_encoding ;
>   client_encoding
> -----------------
>   UnIcOdE
> (1 row)
>
> versus HEAD:
>
> regression=# set client_encoding = 'UnIcOdE';
> SET
> regression=# show client_encoding ;
>   client_encoding
> -----------------
>   UTF8
> (1 row)
>
> I wasn't aware that JDBC would fail on that.  It's pretty annoying that
> it does, but maybe we should grin and bear it, ie revert the change to
> canonicalize the GUC's value?
>
> 			regards, 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 
with 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 JDBC build server. What would it take to set one up? If 
someone can point me to 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,

-- 
Mike Fowler
Registered Linux user: 379787




view thread (23+ messages)  latest in thread

Message-ID: <4DAC5540.2000405@mlfowler.com>
Permalink:  ../4DAC5540.2000405@mlfowler.com/
Also on:    postgresql.org/message-id/4DAC5540.2000405@mlfowler.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: mike@mlfowler.com, tgl@sss.pgh.pa.us, mailings@oopsware.de, ssinger@ca.afilias.info, pgsql-hackers@postgresql.org
  Subject: Re: [JDBC] JDBC connections to 9.1
  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>

* 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