SQLParamOptions(): Incorrect base for returned row. - Mailing list pgsql-odbc

From Barry Cohen
Subject SQLParamOptions(): Incorrect base for returned row.
Date
Msg-id 7AE316508068D311BE7700A0C9B6BA550284B731@EXCH_CLUSTER
Whole thread Raw
List pgsql-odbc
Server: PostgreSQL Server on Linux (as bundled with RedHat 7.3)
Client: Windows Insight Distribution Systems driver 7.02.00.03

Hello,

When performing a block insert, SQLParamOptions() can be used to return the
index of the last row processed.  According to the MSDN documentation, the
index should be one based.

MSDN: "As a statement executes, the driver sets pirow to the number of the
current row of parameter values; the first row is row number 1. The contents
of pirow can be used as follows: ..."

The PostgreSQL driver seems to be returning an index that is zero based.

Thanks in advance for any info.

Regards,
bjc

pgsql-odbc by date:

Previous
From: Scot Loach
Date:
Subject: Re: 64-bit type in SQLBindParameter
Next
From: andres javier garcia garcia
Date:
Subject: Fwd: connection fails