X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 36A5852CAC for ; Thu, 11 Aug 2005 19:02:44 -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 64395-09 for ; Thu, 11 Aug 2005 22:02:41 +0000 (GMT) Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by svr1.postgresql.org (Postfix) with ESMTP id 917CB52C4B for ; Thu, 11 Aug 2005 19:02:38 -0300 (ADT) Received: from caracas-0636.adsl.interware.hu ([213.178.102.124] helo=csabahomeibm) by mail.interware.hu with smtp (Exim 4.52 #1 (Debian)) id 1E3L8J-0001QT-Hb for ; Fri, 12 Aug 2005 00:02:39 +0200 Message-ID: <000801c59ec0$61b7c4b0$640aa8c0@csabahomeibm> Reply-To: "Csaba" From: "Csaba" To: Subject: 'Key violation' error Date: Fri, 12 Aug 2005 00:02:33 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C59ED1.24290A30" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.096 tagged_above=0 required=5 tests=[HTML_50_60=0.095, HTML_MESSAGE=0.001] X-Spam-Level: X-Archive-Number: 200508/137 X-Sequence-Number: 5776 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C59ED1.24290A30 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Driver version: 08_00_0100, 08_00_0101, 08_00_0102 Database version: 8.03 (Both Windows and Linux ) Encoding : LATIN2 ; collation : hu_HU App. written in Delphi 7. Recently upgraded PostgresqglODBC to 08_00 from 07_03_200. Since then if any varchar field of a dataset (TTable or TQuery) = containes non-ASCII chars (hungarian letters) trying to post raises = DBEngineErrorr exception with following message: 'Key violation, ERROR: = syntax error at or near ""XXX" at character Y' "XXX" is the ASCII part of the sting while "Y" is a number which value = depends on where the first non-ASCII character is located in the string. You can post strings with pure ASCII chars. =20 07_03_200 and all earlier works perfect. =20 ------=_NextPart_000_0005_01C59ED1.24290A30 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
Driver version: 08_00_0100, 08_00_0101,=20 08_00_0102
Database version: 8.03 (Both Windows and=20 Linux )
Encoding : LATIN2 ; collation : = hu_HU
 
 
App. written in Delphi 7.
Recently upgraded PostgresqglODBC to 08_00 from=20 07_03_200.
 
Since then if any varchar field of a dataset (TTable = or=20 TQuery) containes non-ASCII chars (hungarian letters) trying to post = raises=20 DBEngineErrorr exception with following message: 'Key violation, ERROR: = syntax=20 error at or near ""XXX" at character Y'
 
"XXX" is the ASCII part of the sting while "Y" is a=20 number which value depends on where the = first non-ASCII=20 character is located in the string.
 
You can post strings with pure ASCII=20 chars.  
 
 07_03_200 and all earlier works = perfect.
 
 
 
------=_NextPart_000_0005_01C59ED1.24290A30--