7.0.3 dumps aren't accessible via JDBC in 7.1

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: 7.0.3 dumps aren't accessible via JDBC in 7.1
Date: 2001-04-16 06:32:38
Message-ID: 200104160632.f3G6WcF08546@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Rainer Mager (rmager(at)vgkk(dot)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 character is a dash character in unicode (not UTF-8), 0x00ad. The problem is that it is getting dumped (and restored) as a single byte and when JDBC reads it as 0xad it expects another byte after it (as according to the UTF-8 spec, anything over 0x7f must have another byte).

Sample Code

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Stephan Szabo 2001-04-16 15:05:08 Re: Possible ODBC driver error
Previous Message Patrick Dunford 2001-04-16 05:30:12 Re: Possible ODBC driver error