pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Cramer <pg@fastcrypt.com>
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 11:24:04 -0400
Message-ID: <22630.1303140244@sss.pgh.pa.us> (raw)
In-Reply-To: <BANLkTinsx=S5wAz+6UEW0yaOuhPCEWpDAg@mail.gmail.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>
	<BANLkTinsx=S5wAz+6UEW0yaOuhPCEWpDAg@mail.gmail.com>

Dave Cramer <pg@fastcrypt.com> writes:
> On Mon, Apr 18, 2011 at 10:57 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> 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?

> Older drivers will fail for sure. We can fix newer drivers, but if we
> leave it we will see a slew of bug reports.

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.

			regards, tom lane



view thread (23+ messages)  latest in thread

Message-ID: <22630.1303140244@sss.pgh.pa.us>
Permalink:  ../22630.1303140244@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22630.1303140244@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, pg@fastcrypt.com, mailings@oopsware.de, ssinger@ca.afilias.info, pgsql-hackers@postgresql.org
  Subject: Re: [JDBC] JDBC connections to 9.1
  In-Reply-To: <22630.1303140244@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> <BANLkTinsx=S5wAz+6UEW0yaOuhPCEWpDAg@mail.gmail.com> <22630.1303140244@sss.pgh.pa.us>

* 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