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

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






view thread (4+ messages)  latest in thread

Message-ID: <411A0755.10800@mikronika.com.pl>
Permalink:  ../411A0755.10800@mikronika.com.pl/
Also on:    postgresql.org/message-id/411A0755.10800@mikronika.com.pl

 · 

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

* 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