X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C85EF52972 for ; Wed, 3 Aug 2005 17:06:46 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 81452-03 for ; Wed, 3 Aug 2005 20:06:38 +0000 (GMT) Received: from szolnok.dunaweb.hu (dunaweb1.euroweb.hu [195.184.0.6]) by svr1.postgresql.org (Postfix) with ESMTP id D4C18528EE for ; Wed, 3 Aug 2005 17:06:11 -0300 (ADT) Received: from [193.226.227.37] (wl-193.226.227-37-szolnok.dunaweb.hu [193.226.227.37]) by szolnok.dunaweb.hu (Postfix) with ESMTP id 51BB389114C; Wed, 3 Aug 2005 22:05:34 +0200 (CEST) Message-ID: <42F1287D.4020804@dunaweb.hu> Date: Wed, 03 Aug 2005 22:26:37 +0200 From: Zoltan Boszormenyi User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720) X-Accept-Language: hu-hu, hu, en-us, en MIME-Version: 1.0 To: Dave Page Cc: pgsql-odbc@postgresql.org Subject: Re: New libpq based driver snapshot 08.01.0003 available References: <42F1081C.6020509@dunaweb.hu> <42F11C35.4030105@dunaweb.hu> In-Reply-To: <42F11C35.4030105@dunaweb.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.051 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200508/39 X-Sequence-Number: 5678 Zoltan Boszormenyi írta: > Zoltan Boszormenyi írta: > >> The old version returns COPY_OK for both cases, although the logging >> in the new version is nice. Which is the correct behaviour? I would like >> to be able to ignore NULL notification. > > > And the attached patch indeed fixes it. And looking up SQLBindCol() in my copy of ODBC 3.5 Developers Guide, it states: * If a NULL pointer is stored in the ValueSize_Indicator parameter, no length or indicator is used. For me, it says that I can use NULL as the last parameter, no matter the fields are NULLs or not. Best regards, Zoltán Böszörményi