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

From Hiroshi Inoue
Subject Re: SQLParamOptions(): Incorrect base for returned row.
Date
Msg-id 3DBCB585.816EC4C1@tpf.co.jp
Whole thread Raw
In response to SQLParamOptions(): Incorrect base for returned row.  (Barry Cohen <bcohen@usdata.com>)
List pgsql-odbc
Barry Cohen wrote:
>
> 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.

Is this only for error cases ?

regards,
Hiroshi Inoue
    http://w2422.nsk.ne.jp/~inoue/

pgsql-odbc by date:

Previous
From: andres javier garcia garcia
Date:
Subject: Fwd: connection fails
Next
From: Hiroshi Inoue
Date:
Subject: Re: SQLParamOptions(): Incorrect base for returned row.