pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Jol Valentine <jolv@genaware.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: PostgreSQL ODBC: Bug with Insert when using parameters arrays
Date: Wed, 27 Aug 2003 19:13:10 +0900
Message-ID: <3F4C8436.250E5674@tpf.co.jp> (raw)
References: <008901c36b8b$52ba19a0$3714a8c0@moya>

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/



view thread (4+ messages)  latest in thread

Message-ID: <3F4C8436.250E5674@tpf.co.jp>
Permalink:  ../3F4C8436.250E5674@tpf.co.jp/
Also on:    postgresql.org/message-id/3F4C8436.250E5674@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Inoue@tpf.co.jp, jolv@genaware.com
  Subject: Re: PostgreSQL ODBC: Bug with Insert when using parameters arrays
  In-Reply-To: <3F4C8436.250E5674@tpf.co.jp>
  References: <008901c36b8b$52ba19a0$3714a8c0@moya> <3F4C8436.250E5674@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox