| От | Hiroshi Inoue |
|---|---|
| Тема | Re: SQLParamOptions(): Incorrect base for returned row. |
| Дата | |
| Msg-id | 3DBCB585.816EC4C1@tpf.co.jp обсуждение исходный текст |
| Ответ на | SQLParamOptions(): Incorrect base for returned row. (Barry Cohen <bcohen@usdata.com>) |
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера