Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-generalpgsql-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

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group