Skip site navigation (1) Skip section navigation (2)

[Q] SQLMoreResults causes error in SQLFetchScroll

From: "V S P" <toreason(at)fastmail(dot)fm>
To: pgsql-odbc(at)postgresql(dot)org
Subject: [Q] SQLMoreResults causes error in SQLFetchScroll
Date: 2009-05-17 05:58:53
Message-ID: 1242539933.12716.1315834929@webmail.messagingengine.com (view raw or flat)
Thread:
Lists: pgsql-odbc
Hello,

I am using the method recommended to obtain a row count
from an operation.

That method relies on call SQLMoreResults


It appears, however, that that mechanism causes
an error down the stream (that I do not undersand)
in SQLFetchScroll


I have an example source file that demonstrates the problem

http://pastebin.com/m2b11b28d

It is an 'extract' of the actual ODBC calls that are going on
in from within OTL C++ library.

Essentailly non of SQL statements are working (because OTL 
tries to obtain the row count and then deploys the sequence of
ODBC statements described in the example)


Wanted to ask if somebody has ran into this or if it is a bug,
how to log it (if it is allowed to be logged) and if there is a
workaround.

Thank you in advance for any help,
Vlad
-- 
  V S P
  toreason(at)fastmail(dot)fm

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service


Responses

pgsql-odbc by date

Next:From: V S PDate: 2009-05-17 06:09:41
Subject: Re: [Q] SQLMoreResults causes error in SQLFetchScroll
Previous:From: Ken SellDate: 2009-05-14 22:17:34
Subject: Re: DataDirect Driver, ExecDirect and UTF-8

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group