pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tabor Kelly <pdxmax@dsl-only.net>
To: pgsql-interfaces@postgresql.org
Subject: NULL feilds and ERROR messages from libpq++
Date: Fri, 15 Jun 2001 12:00:40 -0700
Message-ID: <7794567120.20010615120040@dsl-only.net> (raw)

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





view thread (3+ messages)  latest in thread

Message-ID: <7794567120.20010615120040@dsl-only.net>
Permalink:  ../7794567120.20010615120040@dsl-only.net/
Also on:    postgresql.org/message-id/7794567120.20010615120040@dsl-only.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pdxmax@dsl-only.net
  Subject: Re: NULL feilds and ERROR messages from libpq++
  In-Reply-To: <7794567120.20010615120040@dsl-only.net>

* 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