Re: PostgreSQL ODBC: Bug with Insert when using parameters arrays - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: PostgreSQL ODBC: Bug with Insert when using parameters arrays
Date
Msg-id 3F4C8436.250E5674@tpf.co.jp
Whole thread Raw
In response to PostgreSQL ODBC: Bug with Insert when using parameters arrays ??  ("Jol Valentine" <jolv@genaware.com>)
List pgsql-odbc
Jol Valentine wrote:
>
> Hi,
>
> as a follow up to my previous note I have since download the PostgreSQL ODBC
> source code
> and compiled it under Visual Studio .NET 2003. It's all up and running OK.
>
> It looks like the problem is in PGAPI_Execute(...) in execute.c.
>
> In the for loop at line 558
> for (i = 0; i < apdopts->allocated; i++)
> the data_at_exec parameters are being counted, but this is only looping
> through the columns,

I'm taking account of current_row in the code.

> the fact that there are multiple rows of data is not being taken account of.
> In my case apdopts->paramset_size is 3.

Do you have concrete examples ?

regards,
Hiroshi Inoue
    http://www.geocities.jp/inocchichichi/psqlodbc/

pgsql-odbc by date:

Previous
From: Jeff Eckermann
Date:
Subject: Re: ODBC Source for Windows
Next
From: Benjamin Riefenstahl
Date:
Subject: Re: libodbc programming tutorial