From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Barry Cohen <bcohen@usdata.com>
Cc: 'pgsql-odbc@postgresql.org' <pgsql-odbc@postgresql.org>
Subject: Re: SQLParamOptions(): Incorrect base for returned row.
Date: Mon, 28 Oct 2002 12:56:53 +0900
Message-ID: <3DBCB585.816EC4C1@tpf.co.jp> (raw)
References: <7AE316508068D311BE7700A0C9B6BA550284B731@EXCH_CLUSTER>
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/
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: Inoue@tpf.co.jp, bcohen@usdata.com
Subject: Re: SQLParamOptions(): Incorrect base for returned row.
In-Reply-To: <3DBCB585.816EC4C1@tpf.co.jp>
References: <7AE316508068D311BE7700A0C9B6BA550284B731@EXCH_CLUSTER> <3DBCB585.816EC4C1@tpf.co.jp>
* 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