X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D1594D1B8D5 for ; Tue, 26 Aug 2003 16:17:38 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 09778-03 for ; Tue, 26 Aug 2003 16:17:09 -0300 (ADT) Received: from web20803.mail.yahoo.com (web20803.mail.yahoo.com [216.136.226.192]) by svr1.postgresql.org (Postfix) with SMTP id 04731D1B8BD for ; Tue, 26 Aug 2003 16:17:07 -0300 (ADT) Message-ID: <20030826191652.26337.qmail@web20803.mail.yahoo.com> Received: from [208.13.35.65] by web20803.mail.yahoo.com via HTTP; Tue, 26 Aug 2003 12:16:52 PDT Date: Tue, 26 Aug 2003 12:16:52 -0700 (PDT) From: Jeff Eckermann Subject: Re: PostgreSQL ODBC: Bug with Insert when using parameters arrays ?? To: Jol Valentine , pgsql-odbc@postgresql.org In-Reply-To: <008901c36b8b$52ba19a0$3714a8c0@moya> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/59 X-Sequence-Number: 3179 --- 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, > the fact that there are multiple rows of data is not > being taken account of. > In my case apdopts->paramset_size is 3. > > Looking at the code in more detail it looks like you > simply don't support > the inserting of multiple > "data at execution" parameters per column. Do you > know if anyone is working > on this at the moment > or is it a known deficiency ? Is it worth me taking > a look at it ? > AFAIK the only effort going on is maintenance, rather than development. We have far too few ODBC driver developers, so if you want to do something, have at it. If you are planning to make any significant changes, I would suggest that you subscribe to the pgsql-hackers list, where you can get knowledgable critiques of any proposal. > regards, > Jol Valentine. > > > > ---------------------------(end of > broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com