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 C626F14B2869 for ; Wed, 11 Aug 2004 08:47:38 -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 56087-01 for ; Wed, 11 Aug 2004 11:47:33 +0000 (GMT) Received: from ro.mikronika.com.pl (ni.mikronika.com.pl [213.17.224.83]) by svr1.postgresql.org (Postfix) with ESMTP id 2029114B2820 for ; Wed, 11 Aug 2004 08:47:31 -0300 (ADT) Received: from mikronika.com.pl ([213.17.224.110]) (authenticated bits=0) by ro.mikronika.com.pl (8.12.9/8.12.9/Debian-1) with ESMTP id i7BBlUsM021566; Wed, 11 Aug 2004 13:47:31 +0200 Message-ID: <411A0755.10800@mikronika.com.pl> Date: Wed, 11 Aug 2004 13:47:33 +0200 From: Karol Szkudlarek Reply-To: karol@mikronika.com.pl Organization: Mikronika User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5 X-Accept-Language: en MIME-Version: 1.0 To: Peter Eisentraut Cc: pgsql-odbc@postgresql.org Subject: Re: select count(*) References: <4118F645.5050606@mikronika.com.pl> <200408110848.57505.peter_e@gmx.net> In-Reply-To: <200408110848.57505.peter_e@gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/18 X-Sequence-Number: 4327 Peter Eisentraut wrote: >Karol Szkudlarek wrote: > > >>Hi! >> >>After compiling and installing cvs-tree psqlodbc driver I can't >>do: >>*) select count(*) from tablename. >> >>where tablename is any table name; >> >>Beacuse it returns error: >>MSG= The cursor is open.; >>Unrecognized key passed to SQLGetInfo30. >>ERR=3 >>SQLSTATE=HY010 >> >> > >Works for me (tm): > >$ isql pgtest >[...] >SQL> select count(*) from pg_class; >+---------------------+ >| count | >+---------------------+ >| 180 | >+---------------------+ >1 rows affected >1 rows returned > >Is this possibly another 64-bit issue? Are you still running on amd64? > > > Hi! Also for me statement *) from isql works ok. But from my project it doesn't. Maybe I should prepare simple test case? I got error on my home AMD 2000XP (32-bit) platform (amd64 I have at work.. :-)) And I didn't tested *) with cvs-tree psqlodbc driver at work computer yet. Greets, Karol