Received: from dancing-bare.dsl-only.net (dancing-bare.dsl-only.net [63.105.16.4]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5FMv4a94813 for ; Fri, 15 Jun 2001 18:57:04 -0400 (EDT) (envelope-from pdxmax@dsl-only.net) Received: from tabor.office.archimedesoft.com (unverified [63.105.19.225]) by dancing-bare.dsl-only.net (Rockliffe SMTPRA 4.5.4) with ESMTP id for ; Fri, 15 Jun 2001 16:04:42 -0700 Date: Fri, 15 Jun 2001 15:57:00 -0700 From: Tabor Kelly X-Mailer: The Bat! (v1.49) UNREG / CD5BF9353B3B7091 Reply-To: Tabor Kelly X-Priority: 3 (Normal) Message-ID: <168108746709.20010615155700@dsl-only.net> To: pgsql-general@postgresql.org Subject: NULL feilds and ERROR messages from libpq++ In-reply-To: <7794567120.20010615120040@dsl-only.net> References: <7794567120.20010615120040@dsl-only.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200106/575 X-Sequence-Number: 11072 I am using the libpq++ interface to interact with a table that has some NULL fields in it. 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 this the normal behavior? It seems very odd that it would be, since it is common to interact with tables that contain NULL fields. Thank You, Tabor Kelly