NULL feilds and ERROR messages from libpq++ - Mailing list pgsql-interfaces

From Tabor Kelly
Subject NULL feilds and ERROR messages from libpq++
Date
Msg-id 7794567120.20010615120040@dsl-only.net
Whole thread Raw
List pgsql-interfaces
Okay, I need to generate e-mails based on a table that may or may not
have certain fields that are null. Why is it that every time I do a
PgDatabase::GetValue on a field that has a null value, I get an error
message printed to my console ("PQgetvalue: ERROR! tuple number 0 is
out of range 0..-1")? Is there a way to turn this off? If
not, what is a good work-around?

Thank You,

Tabor Kelly




pgsql-interfaces by date:

Previous
From: Nelson Ferreira Jr
Date:
Subject: Trouble with 7.1.2 JDBC driver
Next
From: Stephen Crawley
Date:
Subject: Re: Using BLOBs with several DBMS