Re: SQLFetchScroll with SQL_ATTR_ROWS_FETCHED_PTR closing statement. - Mailing list pgsql-odbc

From Przemyslaw Rzepecki
Subject Re: SQLFetchScroll with SQL_ATTR_ROWS_FETCHED_PTR closing statement.
Date
Msg-id 1394125507.15011.18.camel@salti.rnd.ki.sw.ericsson.se
Whole thread Raw
In response to Re: SQLFetchScroll with SQL_ATTR_ROWS_FETCHED_PTR closing statement.  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: SQLFetchScroll with SQL_ATTR_ROWS_FETCHED_PTR closing statement.  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Re: SQLFetchScroll with SQL_ATTR_ROWS_FETCHED_PTR closing statement.  ("Inoue, Hiroshi" <inoue@tpf.co.jp>)
List pgsql-odbc
Hi,

Thanks for the answer! I have compare my program with Yours didn't
noticed any logical difference. Then tried rerun the tests on two
different systems, any my tests ware passing on one but the errors ware
still present on the other.

Tried to step by step eliminate all the differences and I believe its
the libodbcinst.so.2 vs libodbcinst.so.1 which cause the difference. It
works fine with unixodbc 1 but when I use a driver recompiled against
unixodbc 2 then the error happens.

Could You let me know which odbc libraries You use on your system? Is it
possible for someone else to retest with odbc2 libraries?

Best regards,
Przemek

On Tue, 2014-03-04 at 16:21 +0200, Heikki Linnakangas wrote:
> usage of the fetch scroll function incorrect?
>
> Looks correct to me. I tried to reproduce this with the attached test
> program (modified from the regression tests), and it worked fine.
>
> - Heikki




pgsql-odbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: Elimination of (more or less) all compilation warnings on OSX
Next
From: Heikki Linnakangas
Date:
Subject: Re: Elimination of (more or less) all compilation warnings on OSX