X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 815D7D6ED3 for ; Tue, 23 Aug 2005 11:03:13 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16145-02 for ; Tue, 23 Aug 2005 14:03:11 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by svr1.postgresql.org (Postfix) with ESMTP id DA2BDD6EC8 for ; Tue, 23 Aug 2005 11:03:10 -0300 (ADT) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1E7ZKN-0006Ye-Ga for pgsql-jdbc@postgresql.org; Tue, 23 Aug 2005 16:00:36 +0200 Received: from 213.244.29.170 ([213.244.29.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2005 16:00:35 +0200 Received: from Marc.Herbert by 213.244.29.170 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2005 16:00:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Marc Herbert Subject: Re: Is this error correct/possible? Date: Tue, 23 Aug 2005 15:42:21 +0200 Lines: 42 Message-ID: <87slx0n51e.fsf@meije.emic.fr> References: <1124790915.27046.25.camel@panoramix.askesis.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213.244.29.170 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:XUCZ6crP3ewvSJ1DTXtXroG7BKs= X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.861 required=5 tests=[AWL=-0.744, FORGED_RCVD_HELO=0.05, RCVD_BY_IP=0.024, RCVD_NUMERIC_HELO=1.531] X-Spam-Level: X-Archive-Number: 200508/171 X-Sequence-Number: 13740 Joost Kraaijeveld 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)?