From: Csaba <cs.smela@medical-tribune.hu>
To: pgsql-odbc@postgresql.org
Subject: 'Key violation' error
Date: Fri, 12 Aug 2005 00:02:33 +0200
Message-ID: <000801c59ec0$61b7c4b0$640aa8c0@csabahomeibm> (raw)
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.
07_03_200 and all earlier works perfect.
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-odbc@postgresql.org
Cc: cs.smela@medical-tribune.hu
Subject: Re: 'Key violation' error
In-Reply-To: <000801c59ec0$61b7c4b0$640aa8c0@csabahomeibm>
References: <000801c59ec0$61b7c4b0$640aa8c0@csabahomeibm>
* 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