Skip site navigation (1) Skip section navigation (2)

Re: JDBC driver, client_encoding and a SQL_ASCII database in production

From: Kris Jurka <books(at)ejurka(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Emmanuel Guiton <emmanuel(dot)guiton(at)intrinsec(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC driver, client_encoding and a SQL_ASCII database in production
Date: 2010-03-10 21:52:19
Message-ID: alpine.BSO.2.00.1003101650550.4329@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

On Thu, 11 Mar 2010, Oliver Jowett wrote:

> You may have to run with a modified driver that you have patched to
> understand encodings other than UTF-8.
>

The JDBC driver does support running with a non-UTF-8 encoding, but only 
for server versions prior to 7.3.  There's no reason it couldn't work for 
later versions, so the easiest thing to do is to tweak the v2 protocol 
setup code to work for your server version and then use that.

Kris Jurka


In response to

pgsql-jdbc by date

Next:From: LewDate: 2010-03-11 01:45:08
Subject: Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
Previous:From: Oliver JowettDate: 2010-03-10 21:49:45
Subject: Re: JDBC driver, client_encoding and a SQL_ASCII database in production

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group