From: Glen Parker <glenebob@nwlink.com>
To: pgsql-odbc@postgresql.org
Subject: Bug in latest ODBC driver (07.02.0004)
Date: Thu, 21 Nov 2002 21:26:18 -0800
Message-ID: <002801c291e7$afd7e5f0$0b01a8c0@johnpark.net> (raw)
The 07.02.0004 (the ver. 3, non unicode in this case) driver has broken
some programs I have. Attached is a snip from my ODBC log.
The basic problem seems to be that sending a 'create ...' statement to
the server and trying to get the row count after it executes causes
errors that shouldn't be happening. The statement executes fine, as the
log shows, but SQLRowCount() returns -1 (SQL_ERROR). There is also
aparently no error info saved because SQLGetDiagRecW() returns 100
(SQL_NO_DATA_FOUND).
Shouldn't SQLRowCount() succeed and return a row count of -1?
My platform is Win2k.
select version();
PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC 2.96
Glen Parker
glenebob@nwlink.com
Attachments:
ODBC.log (application/octet-stream, 1.8K) download
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: glenebob@nwlink.com
Subject: Re: Bug in latest ODBC driver (07.02.0004)
In-Reply-To: <002801c291e7$afd7e5f0$0b01a8c0@johnpark.net>
References: <002801c291e7$afd7e5f0$0b01a8c0@johnpark.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