7.0.3 dumps aren't accessible via JDBC in 7.1

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема 7.0.3 dumps aren't accessible via JDBC in 7.1
Дата
Msg-id 200104160632.f3G6WcF08546@hub.org
обсуждение исходный текст
Ответы Re: 7.0.3 dumps aren't accessible via JDBC in 7.1  (Peter T Mount <peter@retep.org.uk>)
Список pgsql-bugs
Rainer Mager (rmager@vgkk.com) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
7.0.3 dumps aren't accessible via JDBC in 7.1

Long Description
If the character '\255' exists in a 7.0.3 dump then JDBC barfs on reading this character in 7.1. Apparently this
characteris a dash character in unicode (not UTF-8), 0x00ad. The problem is that it is getting dumped (and restored) as
asingle byte and when JDBC reads it as 0xad it expects another byte after it (as according to the UTF-8 spec, anything
over0x7f must have another byte). 

Sample Code


No file was uploaded with this report

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Rainer Mager"
Дата:
Сообщение: RE: Problem with 7.0.3 dump -> 7.1b4 restore
Следующее
От: Patrick Dunford
Дата:
Сообщение: Re: Possible ODBC driver error