Re: Strange error using postgres 8.2 + JDBC 8.2 driver - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Strange error using postgres 8.2 + JDBC 8.2 driver
Date
Msg-id Pine.BSO.4.64.0701171202470.29608@leary2.csoft.net
Whole thread Raw
In response to Strange error using postgres 8.2 + JDBC 8.2 driver  (Csaba Nagy <nagy@ecircle-ag.com>)
Responses Re: Strange error using postgres 8.2 + JDBC 8.2 driver  (Csaba Nagy <nagy@ecircle-ag.com>)
List pgsql-jdbc

On Wed, 17 Jan 2007, Csaba Nagy wrote:

> I get the following error:
>
> org.postgresql.util.PSQLException: ERROR: invalid byte sequence for
> encoding "UTF8": 0x00
> at
>
> Any ideas how could I further debug this ? It's show-stopper for us in
> adopting 8.2.
>

This will actually happen in 8.1 servers if you are running the latest
releases.  Previously, inserting something like "a\0b" would silently
truncate at the null byte, but now it's an error.  So, check your data for
\0.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Csaba Nagy
Date:
Subject: Strange error using postgres 8.2 + JDBC 8.2 driver
Next
From: Csaba Nagy
Date:
Subject: Re: Strange error using postgres 8.2 + JDBC 8.2 driver