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

SQLParamOptions(): Incorrect base for returned row.

From: Barry Cohen <bcohen(at)usdata(dot)com>
To: "'pgsql-odbc(at)postgresql(dot)org'" <pgsql-odbc(at)postgresql(dot)org>
Subject: SQLParamOptions(): Incorrect base for returned row.
Date: 2002-10-24 17:03:20
Message-ID: 7AE316508068D311BE7700A0C9B6BA550284B731@EXCH_CLUSTER (view raw or flat)
Thread:
Lists: 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

Responses

pgsql-odbc by date

Next:From: andres javier garcia garciaDate: 2002-10-24 17:08:05
Subject: connection fails
Previous:From: Patrick HatcherDate: 2002-10-23 18:20:57
Subject: Crystal Reports image field is defined as text?

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