Re: Bug report: x64 Row status Array uses wrong data type - Mailing list pgsql-odbc

From Clemens Ladisch
Subject Re: Bug report: x64 Row status Array uses wrong data type
Date
Msg-id fcd5a023-3fe0-8ea7-a955-6ac630a4e517@ladisch.de
Whole thread Raw
In response to Re: Bug report: x64 Row status Array uses wrong data type  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
List pgsql-odbc
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


pgsql-odbc by date:

Previous
From: "Inoue, Hiroshi"
Date:
Subject: Re: Bug report: x64 Row status Array uses wrong data type
Next
From: Maxim Zakharov
Date:
Subject: Build with Oracle Solaris Studio