From: Johann Zuschlag <zuschlag2@online.de>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlODBC-Driver Test / text fields
Date: Mon, 27 Mar 2006 17:50:45 +0200
Message-ID: <442809D5.2030805@online.de> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C97F9@ratbert.vale-housing.co.uk>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C97F9@ratbert.vale-housing.co.uk>
Dave Page schrieb:
>OK, that sounds like the old bug we were seeing. What is the difference
>between those and the previous results you reported a few minutes ago?
>Is it just the text/varchar difference?
>
>Regards, Dave.
>
>
>
Hi Dave,
the problem doesn't seem to be related to the text field. Please note
the examples below:
1. Searching for a string starting with a 't' seems to work fine:
2006-03-27 16:49:48 [2931] LOG: statement: declare "SQL_CUR0210FD50"
cursor with hold for SELECT t6.* FROM KUNDE t6 WHERE t6.name >= 't' AND
t6.name <= 'tz' ORDER BY t6.name ASC, t6.kundenid ASC
2. Searching for a string starting with o-Umlaut (german character)
doesn't return any results (in my app.).
2006-03-27 16:50:37 [2931] LOG: statement: declare "SQL_CUR0210FD50"
cursor with hold for SELECT t6.* FROM KUNDE t6 WHERE t6.name >= 'ö'
AND t6.name <= 'öz' ORDER BY t6.name ASC, t6.kundenid ASC
Maybe the WHERE-statement is not parsed by the driver. But the hex
representation of 'ö' is 'C3B6', that is the correct UTF8 code (not
unicode) of o-Umlaut.
3. Furthermore I noticed that I wouldn't get anything back if the
searched string contains any "Umlauts". So I guess there could be a
problem with the result set too.
SELECT without a WHERE-statement works.
Any ideas?
A mylog ist available, as well as the tiny data set (6 lines)..
Hope that helps.
Regards,
Johann
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: zuschlag2@online.de, dpage@vale-housing.co.uk
Subject: Re: psqlODBC-Driver Test / text fields
In-Reply-To: <442809D5.2030805@online.de>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C97F9@ratbert.vale-housing.co.uk> <442809D5.2030805@online.de>
* 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