pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: pgsql-odbc@lists.postgresql.org
Subject: Re: Bug report: x64 Row status Array uses wrong data type
Date: Sat, 12 May 2018 17:25:10 +0200
Message-ID: <fcd5a023-3fe0-8ea7-a955-6ac630a4e517@ladisch.de> (raw)
In-Reply-To: <97ae1e0f-fd75-33ea-b639-3ad92cff1daf@dream.email.ne.jp>
References: <08FA934FA252D048A8B6D2018D96549A262C8FE7@CAEX2010.digital-dispatch.com>
	<97ae1e0f-fd75-33ea-b639-3ad92cff1daf@dream.email.ne.jp>

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




view thread (7+ messages)  latest in thread

Message-ID: <fcd5a023-3fe0-8ea7-a955-6ac630a4e517@ladisch.de>
Permalink:  ../fcd5a023-3fe0-8ea7-a955-6ac630a4e517@ladisch.de/
Also on:    postgresql.org/message-id/fcd5a023-3fe0-8ea7-a955-6ac630a4e517@ladisch.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: clemens@ladisch.de
  Subject: Re: Bug report: x64 Row status Array uses wrong data type
  In-Reply-To: <fcd5a023-3fe0-8ea7-a955-6ac630a4e517@ladisch.de>
  References: <08FA934FA252D048A8B6D2018D96549A262C8FE7@CAEX2010.digital-dispatch.com> <97ae1e0f-fd75-33ea-b639-3ad92cff1daf@dream.email.ne.jp> <fcd5a023-3fe0-8ea7-a955-6ac630a4e517@ladisch.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox