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 A4ACAD6D78 for ; Tue, 23 Aug 2005 06:55:20 -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 94895-04 for ; Tue, 23 Aug 2005 09:55:18 +0000 (GMT) Received: from obelix.askesis.nl (laudanum.demon.nl [82.161.125.16]) by svr1.postgresql.org (Postfix) with ESMTP id 3C319D6F01 for ; Tue, 23 Aug 2005 06:55:15 -0300 (ADT) Received: obelix.askesis.nl 172.31.0.1 from 172.31.1.8 172.31.1.8 via HTTP with MS-WebStorage 6.0.6249 Received: from Panoramix by obelix.askesis.nl; 23 Aug 2005 11:55:15 +0200 Subject: Is this error correct/possible? From: Joost Kraaijeveld To: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: Tue, 23 Aug 2005 11:55:14 +0200 Message-Id: <1124790915.27046.25.camel@panoramix.askesis.nl> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 required=5 tests=[AWL=0.050, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200508/170 X-Sequence-Number: 13739 Hi, 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." Inspection of the row (using pgadmin3) shows that there is the char "=FC" in a char(40) columns. Questions: 1. Is a "=FC" allowed in a SQL_ASCII database and a column of char(40)? 2. If so, is this a JDBC bug? 3. If not, is this a PostgreSQL bug, allowing a non-allowed character in a column? TIA Joost