Thread: SQLDescribeCol before SQLExcecute call problerm

SQLDescribeCol before SQLExcecute call problerm

From
mik@mikronika.com.pl
Date:
Hi!

I have problem with the latest odbc postgres driver. In previous version
of the driver I can call SQLDescribeCol and SQLExecute in any
order. Now if I call SQLDescribeCol before SQLExecute I got error:

HY010 (Function sequence error). ODBC SDK documentation allows calling in
that order. Is it the feature or bug?

I have many lines of code depend on library (OTL) which using that sort of
calling convention. And now that will be very difficult to change it.

Problem concerns both the latest snapshot and cvs-tree on Windows and Linux.

Regards,

Michał Konopiński