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 3014214B2820 for ; Wed, 11 Aug 2004 03:49:09 -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 60686-09 for ; Wed, 11 Aug 2004 06:49:03 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id 94F5314B2804 for ; Wed, 11 Aug 2004 03:48:59 -0300 (ADT) Received: (qmail 15244 invoked by uid 65534); 11 Aug 2004 06:48:58 -0000 Received: from dsl-082-082-233-057.arcor-ip.net (EHLO colt.pezone.net) (82.82.233.57) by mail.gmx.net (mp017) with SMTP; 11 Aug 2004 08:48:58 +0200 X-Authenticated: #495269 From: Peter Eisentraut To: karol@mikronika.com.pl, pgsql-odbc@postgresql.org Subject: Re: select count(*) Date: Wed, 11 Aug 2004 08:48:57 +0200 User-Agent: KMail/1.5.1 References: <4118F645.5050606@mikronika.com.pl> In-Reply-To: <4118F645.5050606@mikronika.com.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408110848.57505.peter_e@gmx.net> 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/17 X-Sequence-Number: 4326 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? -- Peter Eisentraut http://developer.postgresql.org/~petere/