pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Emmanuel Guiton <emmanuel.guiton@intrinsec.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC driver, client_encoding and a SQL_ASCII database in production
Date: Wed, 10 Mar 2010 16:52:19 -0500 (EST)
Message-ID: <alpine.BSO.2.00.1003101650550.4329@leary.csoft.net> (raw)
In-Reply-To: <4B9813F9.3060801@opencloud.com>
References: <4B977FFF.9030204@intrinsec.com>
	<4B978DBE.8090506@opencloud.com>
	<4B979F69.5090707@intrinsec.com>
	<4B9813F9.3060801@opencloud.com>



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




view thread (5+ messages)

Message-ID: <alpine.BSO.2.00.1003101650550.4329@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1003101650550.4329@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1003101650550.4329@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, oliver@opencloud.com, emmanuel.guiton@intrinsec.com
  Subject: Re: JDBC driver, client_encoding and a SQL_ASCII database in production
  In-Reply-To: <alpine.BSO.2.00.1003101650550.4329@leary.csoft.net>
  References: <4B977FFF.9030204@intrinsec.com> <4B978DBE.8090506@opencloud.com> <4B979F69.5090707@intrinsec.com> <4B9813F9.3060801@opencloud.com> <alpine.BSO.2.00.1003101650550.4329@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