pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: karol@mikronika.com.pl
To: pgsql-odbc@postgresql.org
Subject: Re: select count(*)
Date: Wed, 11 Aug 2004 08:48:57 +0200
Message-ID: <200408110848.57505.peter_e@gmx.net> (raw)
In-Reply-To: <4118F645.5050606@mikronika.com.pl>
References: <4118F645.5050606@mikronika.com.pl>

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/




view thread (4+ messages)  latest in thread

Message-ID: <200408110848.57505.peter_e@gmx.net>
Permalink:  ../200408110848.57505.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200408110848.57505.peter_e@gmx.net

 · 

reply

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: peter_e@gmx.net, karol@mikronika.com.pl
  Subject: Re: select count(*)
  In-Reply-To: <200408110848.57505.peter_e@gmx.net>
  References: <4118F645.5050606@mikronika.com.pl> <200408110848.57505.peter_e@gmx.net>

* 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