Re: PostgreSQL ODBC: Bug with Insert when using parameters arrays

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Jol Valentine <jolv(at)genaware(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: PostgreSQL ODBC: Bug with Insert when using parameters arrays
Date: 2003-08-27 10:13:10
Message-ID: 3F4C8436.250E5674@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Bupp Phillips 2003-08-27 10:37:18 ODBC Source for Windows
Previous Message Graham 2003-08-26 20:56:06 libodbc programming tutorial