Skip site navigation (1) Skip section navigation (2)

Re: 7.0.3 dumps aren't accessible via JDBC in 7.1

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: rmager(at)vgkk(dot)com, pgsql-bugs(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 7.0.3 dumps aren't accessible via JDBC in 7.1
Date: 2001-04-20 11:12:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Quoting pgsql-bugs(at)postgresql(dot)org:

> 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

I'd say this is not JDBC as JDBC doesn't deal with dumps, but...

> 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).

Hmmm, this sounds like either a backend issue, or something is misconfigured. 
Have you got unicode support enabled in the backend?


Peter Mount peter(at)retep(dot)org(dot)uk
PostgreSQL JDBC Driver:
RetepPDF PDF library for Java:

In response to


pgsql-bugs by date

Next:From: pgsql-bugsDate: 2001-04-20 13:01:10
Subject: Date Representation Bug. Timezone and update on an already posted as #208 reportbug
Previous:From: Joseph CrawleyDate: 2001-04-20 00:10:49
Subject: table named primary

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group