Re: New libpq based driver snapshot 08.01.0003 available - Mailing list pgsql-odbc

From Zoltan Boszormenyi
Subject Re: New libpq based driver snapshot 08.01.0003 available
Date
Msg-id 42F1287D.4020804@dunaweb.hu
Whole thread Raw
In response to Re: New libpq based driver snapshot 08.01.0003 available  (Zoltan Boszormenyi <zboszor@dunaweb.hu>)
List pgsql-odbc
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

pgsql-odbc by date:

Previous
From: Zoltan Boszormenyi
Date:
Subject: Re: New libpq based driver snapshot 08.01.0003 available
Next
From: "Mahesh Vyas"
Date:
Subject: unsubscribe