Re: Bug report: x64 Row status Array uses wrong data type

Clemens Ladisch <[email protected]>
Newsgroups gmane.comp.db.postgresql.odbc
Message-ID <[email protected]>
Jari Siikarla wrote:
> The array returned from fetch for row statuses uses 16 bit values
> instead of 64 bit values.

https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlsetstmtattr-function
says:
| SQL_ATTR_ROW_STATUS_PTR
|   An SQLUSMALLINT * value that points to an array of SQLUSMALLINT
|   values containing row status values after a call to SQLFetch or
|   SQLFetchScroll.

> Client is set ODBC version 2

SQL_ATTR_ROW_STATUS_PTR was introduced in ODBC 3.0.


Regards,
Clemens
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.