7.0.3 dumps aren't accessible via JDBC in 7.1 - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject 7.0.3 dumps aren't accessible via JDBC in 7.1
Date
Msg-id 200104160632.f3G6WcF08546@hub.org
Whole thread Raw
Responses Re: 7.0.3 dumps aren't accessible via JDBC in 7.1
List 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 by date:

Previous
From: "Rainer Mager"
Date:
Subject: RE: Problem with 7.0.3 dump -> 7.1b4 restore
Next
From: Patrick Dunford
Date:
Subject: Re: Possible ODBC driver error