Re: A JDBC bug or problem relating to string length in Java

From: Kris Jurka <books(at)ejurka(dot)com>
To: joe user <palehaole(at)yahoo(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: A JDBC bug or problem relating to string length in Java
Date: 2003-09-03 11:26:56
Message-ID: Pine.LNX.4.33.0309030726200.4798-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Mon, 1 Sep 2003, joe user wrote:

>
> --- Kris Jurka <books(at)ejurka(dot)com> wrote:
> > You did not mention what your server encoding is. I
> > assumed it was
> > unicode, but could you confirm this?
>
> You mean the Postgres server? I don't know. I never
> set it. This is a plain-vanilla installation of
> RedHat 9, and I downloaded and compiled plain-vanilla
> PG 7.3.4, so whatever the default encoding would be,
> that is what I'm using. For the Java runtime, I'm
> also using the plain-vanilla defaults under Redhat 9.
> Is there a way to find out?

SELECT datname,pg_encoding_to_char(encoding) FROM pg_database;

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Andreas Bauer 2003-09-03 13:00:35 Writing binary - UPDATE
Previous Message Brendan Caylor: Forgecom 2003-09-03 10:54:35