NULL feilds and ERROR messages from libpq++

From: Tabor Kelly <pdxmax(at)dsl-only(dot)net>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: NULL feilds and ERROR messages from libpq++
Date: 2001-06-15 19:00:40
Message-ID: 7794567120.20010615120040@dsl-only.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2001-06-15 19:32:45 Re:7.1.2-4PGDG RPMset uploading.
Previous Message Joseph Koenig 2001-06-15 18:28:23 Progress -> PostgreSQL Replication?

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tabor Kelly 2001-06-15 22:57:00 NULL feilds and ERROR messages from libpq++
Previous Message Bruce Momjian 2001-06-14 16:48:47 Re: remote database queries