detecting NULL from libpq...

dave madden <dhm@paradigm.webvision.com>

From: dave madden <dhm@paradigm.webvision.com>
To: pgsql-general@postgresql.org
Date: 1998-06-19T22:28:04Z
Lists: pgsql-general
Hi.  I'm wondering if it's possible to tell whether a field returned
by PQgetvalue() is NULL?  Can one distinguish between a varchar field
that contains a string of zero length and a varchar field that is
NULL?  (And if so, how? :-)

regards,
d.