pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zoltan Boszormenyi <zboszor@dunaweb.hu>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: New libpq based driver snapshot 08.01.0003 available
Date: Wed, 03 Aug 2005 22:26:37 +0200
Message-ID: <42F1287D.4020804@dunaweb.hu> (raw)
In-Reply-To: <42F11C35.4030105@dunaweb.hu>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9791@ratbert.vale-housing.co.uk>
	<42F1081C.6020509@dunaweb.hu>
	<42F11C35.4030105@dunaweb.hu>

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



view thread (8+ messages)  latest in thread

Message-ID: <42F1287D.4020804@dunaweb.hu>
Permalink:  ../42F1287D.4020804@dunaweb.hu/
Also on:    postgresql.org/message-id/42F1287D.4020804@dunaweb.hu

 · 

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: zboszor@dunaweb.hu, dpage@vale-housing.co.uk
  Subject: Re: New libpq based driver snapshot 08.01.0003 available
  In-Reply-To: <42F1287D.4020804@dunaweb.hu>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9791@ratbert.vale-housing.co.uk> <42F1081C.6020509@dunaweb.hu> <42F11C35.4030105@dunaweb.hu> <42F1287D.4020804@dunaweb.hu>

* 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