pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mbch67@yahoo.com
To: pgsql-jdbc@postgresql.org
Subject: 8.0.0beta4: "copy" and "client_encoding"
Date: 3 Nov 2004 08:03:01 -0800
Message-ID: <fe065ce.0411030803.4616e8c4@posting.google.com> (raw)

Hi,

The following statement worked fine with 7.4 but fails under 8.0.0beta4:

   SET CLIENT_ENCODING TO 'LATIN1';

Error message:

   08006
   The servers client_encoding parameter was changed to {0}.
   The JDBC driver requires client_encoding to be UNICODE for
   correct operation.

Is this a bug or a new restriction of the JDBC driver/server backend?

That's the (faulty) 8.0.0beta4 configuration:

   Default client encoding: LATIN1
   Database encoding:       UNICODE
   DBMS:                    8.0.0beta4
   JDBC driver:             pgdev.307.jdbc3.jar
   File encoding:           LATIN1

That's the 7.4.x configuration:

   Default client encoding: LATIN1
   Database encoding:       UNICODE
   DBMS:                    7.4.x
   JDBC driver:             pg74.213.jdbc4.jar
   File encoding:           LATIN1


Adrian



view thread (17+ messages)  latest in thread

Message-ID: <fe065ce.0411030803.4616e8c4@posting.google.com>
Permalink:  ../fe065ce.0411030803.4616e8c4@posting.google.com/
Also on:    postgresql.org/message-id/fe065ce.0411030803.4616e8c4@posting.google.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: mbch67@yahoo.com
  Subject: Re: 8.0.0beta4: "copy" and "client_encoding"
  In-Reply-To: <fe065ce.0411030803.4616e8c4@posting.google.com>
  References: <fe065ce.0411030803.4616e8c4@posting.google.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