Re: Strange error using postgres 8.2 + JDBC 8.2 driver

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Strange error using postgres 8.2 + JDBC 8.2 driver
Дата
Msg-id Pine.BSO.4.64.0701171202470.29608@leary2.csoft.net
обсуждение исходный текст
Ответ на Strange error using postgres 8.2 + JDBC 8.2 driver  (Csaba Nagy <nagy@ecircle-ag.com>)
Ответы Re: Strange error using postgres 8.2 + JDBC 8.2 driver
Список 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 по дате отправления:

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Strange error using postgres 8.2 + JDBC 8.2 driver
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: Strange error using postgres 8.2 + JDBC 8.2 driver