pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Herbert <Marc.Herbert@emicnetworks.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Is this error correct/possible?
Date: Tue, 23 Aug 2005 15:42:21 +0200
Message-ID: <87slx0n51e.fsf@meije.emic.fr> (raw)
References: <1124790915.27046.25.camel@panoramix.askesis.nl>

Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl> writes:

> I have a database which is created in PostgreSQL 8.0.3 which is filled
> with a PostgreSQL 7.4.7 database backup. Both databases where created
> with SQL_ASCII.
>
> Running a query against on of the tables gives this error (with the
> pg74.216.jdbc3.jar and postgresql-8.0-312.jdbc3.jar drivers):
>
> "Invalid character data was found.  This is most likely caused by stored
> data containing characters that are invalid for the character set the
> database was created in.  The most common example of this is storing
> 8bit data in a SQL_ASCII database."

Could you copy/paste the complete exception and stacktrace?


> Inspection of the row (using pgadmin3) shows that there is the char "ü"
> in a char(40) columns.
>
> Questions:
>
> 1. Is a "ü" allowed in a SQL_ASCII database and a column of char(40)?



view thread (9+ messages)  latest in thread

Message-ID: <87slx0n51e.fsf@meije.emic.fr>
Permalink:  ../87slx0n51e.fsf@meije.emic.fr/
Also on:    postgresql.org/message-id/87slx0n51e.fsf@meije.emic.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: Marc.Herbert@emicnetworks.com
  Subject: Re: Is this error correct/possible?
  In-Reply-To: <87slx0n51e.fsf@meije.emic.fr>
  References: <1124790915.27046.25.camel@panoramix.askesis.nl> <87slx0n51e.fsf@meije.emic.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox