pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Ned Wolpert <ned.wolpert@gmail.com>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: Віталій Тимчишин <tivv00@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Upgrade question, going from 8.3 to 9.1...
Date: Thu, 16 Feb 2012 16:06:21 -0500 (EST)
Message-ID: <alpine.BSO.2.00.1202161602090.32496@leary.csoft.net> (raw)
In-Reply-To: <CAE7PAG0y=PWDULn+yvRtgYP7SG_swSOz3qrHJ85CiWtWrXm7Yw@mail.gmail.com>
References: <CAE7PAG0b7Uj3Mm-Rcg004uKggwhbKOY5G=e0rk4tPFt3sQwhjQ@mail.gmail.com>
	<CABWW-d28ngZqsLviTeJiDFH5zMjiqBP583QeakgYAuYtgRwvhg@mail.gmail.com>
	<CADK3HH+qFrH81cSbUTvLixz84_HPVt98YELhLwkcxfrUSZw6ww@mail.gmail.com>
	<CAE7PAG0y=PWDULn+yvRtgYP7SG_swSOz3qrHJ85CiWtWrXm7Yw@mail.gmail.com>



On Thu, 16 Feb 2012, Ned Wolpert wrote:

> So, the driver issue was only in dealing with UNICODE issues? Is it true
> that if we are always set with UNICODE client_encoding we should be fine?
> (Or, another way to put it, we have already tested connection from the
> existing java apps using the 8.3 driver to the new 9.1 database test
> instance, and they worked 'just fine' for initial queries... is that where
> this problem would manifest itself? Only in connecting?) Or was there
> something else I missed in that thread?

The end result of that thread was that the server folks ended up fixing 
the server to allow older JDBC clients to connect, so that was only an 
issue in the development version of the server for a short period of 
time, never in a released version.

The big backwards compatibility change that occurred between 8.3 and 9.1 
servers was the bytea escaping option.  If you want to use an older driver 
you must set the bytea_output config option to escape on the server.

http://www.postgresql.org/docs/9.1/static/runtime-config-client.html#GUC-BYTEA-OUTPUT

Kris Jurka




view thread (8+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1202161602090.32496@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1202161602090.32496@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1202161602090.32496@leary.csoft.net

 · 

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: books@ejurka.com, ned.wolpert@gmail.com, pg@fastcrypt.com, tivv00@gmail.com
  Subject: Re: Upgrade question, going from 8.3 to 9.1...
  In-Reply-To: <alpine.BSO.2.00.1202161602090.32496@leary.csoft.net>
  References: <CAE7PAG0b7Uj3Mm-Rcg004uKggwhbKOY5G=e0rk4tPFt3sQwhjQ@mail.gmail.com> <CABWW-d28ngZqsLviTeJiDFH5zMjiqBP583QeakgYAuYtgRwvhg@mail.gmail.com> <CADK3HH+qFrH81cSbUTvLixz84_HPVt98YELhLwkcxfrUSZw6ww@mail.gmail.com> <CAE7PAG0y=PWDULn+yvRtgYP7SG_swSOz3qrHJ85CiWtWrXm7Yw@mail.gmail.com> <alpine.BSO.2.00.1202161602090.32496@leary.csoft.net>

* 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