Skip site navigation (1) Skip section navigation (2)

Re: SQLParamOptions(): Incorrect base for returned row.

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Barry Cohen <bcohen(at)usdata(dot)com>
Cc: "'pgsql-odbc(at)postgresql(dot)org'" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: SQLParamOptions(): Incorrect base for returned row.
Date: 2002-10-28 03:56:53
Message-ID: 3DBCB585.816EC4C1@tpf.co.jp (view raw or flat)
Thread:
Lists: 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/

In response to

pgsql-odbc by date

Next:From: Barry CohenDate: 2002-10-28 17:25:36
Subject: Re: SQLParamOptions(): Incorrect base for returned row.
Previous:From: andres javier garcia garciaDate: 2002-10-25 13:36:31
Subject: Fwd: connection fails

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group