pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Hallgren <thhal@mailblocks.com>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: UNICODE and 8.0.0beta5
Date: Wed, 24 Nov 2004 14:16:42 +0100
Message-ID: <thhal-0PCKAAmkIcC4vMclvKGLiL1mIOkKoDJ@mailblocks.com> (raw)
References: <41A489BA.1060204@mailblocks.com>

Hi,
I just downloaded the PostgreSQL 8.0.0b5 and the pg80b1.308.jdbc3.jar. I 
compiled, installed, and created a database from scratch (i.e. initdb 
and createdb) using default's for everything. When I try to run a Java 
program, I get the following exception:

org.postgresql.util.PSQLException: Backend start-up failed: FATAL: 
invalid value for parameter "client_encoding": "UNICODE".
        at 
org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:443)
        at 
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:98)
        at 
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:63)
        at 
org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:117)
        at 
org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
        at 
org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
        at org.postgresql.Driver.connect(Driver.java:183)
        at java.sql.DriverManager.getConnection(DriverManager.java:525)
        at java.sql.DriverManager.getConnection(DriverManager.java:171)
        ...

AFAIK this used to work. What has changed?

Regards,
Thomas Hallgren





view thread (5+ messages)  latest in thread

Message-ID: <thhal-0PCKAAmkIcC4vMclvKGLiL1mIOkKoDJ@mailblocks.com>
Permalink:  ../thhal-0PCKAAmkIcC4vMclvKGLiL1mIOkKoDJ@mailblocks.com/
Also on:    postgresql.org/message-id/thhal-0PCKAAmkIcC4vMclvKGLiL1mIOkKoDJ@mailblocks.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: thhal@mailblocks.com
  Subject: Re: UNICODE and 8.0.0beta5
  In-Reply-To: <thhal-0PCKAAmkIcC4vMclvKGLiL1mIOkKoDJ@mailblocks.com>
  References: <41A489BA.1060204@mailblocks.com> <thhal-0PCKAAmkIcC4vMclvKGLiL1mIOkKoDJ@mailblocks.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