X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id E1ECA9DCB34 for ; Mon, 27 Mar 2006 11:50:45 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94943-01 for ; Mon, 27 Mar 2006 11:50:50 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by postgresql.org (Postfix) with ESMTP id 753019DC873 for ; Mon, 27 Mar 2006 11:50:42 -0400 (AST) Received: from [84.143.61.254] (helo=[84.143.61.254]) by mrelayeu.kundenserver.de (node=mrelayeu10) with ESMTP (Nemesis), id 0ML31I-1FNtzR3u5U-0003VU; Mon, 27 Mar 2006 17:50:46 +0200 Message-ID: <442809D5.2030805@online.de> Date: Mon, 27 Mar 2006 17:50:45 +0200 From: Johann Zuschlag User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Dave Page CC: pgsql-odbc@postgresql.org Subject: Re: psqlODBC-Driver Test / text fields References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:412dbd38c76468b7d75e624f8951f259 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/184 X-Sequence-Number: 7470 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