pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ken J. Wright <ken@ori-ind.com>
To: StOo <stuart@comodo.net>
To: interfaces <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] eekk tuples ok when there not!
Date: Fri, 20 Aug 1999 08:59:01 -0700
Message-ID: <3.0.32.19990820085859.00982350@ren.cncware.com> (raw)

At 15:20 08/20/1999 +0000, StOo wrote:
>
>postgres 6-5-1 on linux
>
>after calling PgConnection::Exec(const char *query);
>it returns PGRES_TUPLES_OK even when there is nothing in the table!
>has anyone else noticed this?? or am i mad again =)

Yes, and yes ;-). An empty result set does not constitute an error. It's
your job to check ntuples. Although, coming from lot's of years with
Paradox, I do sometimes miss the 100+ possible return codes.

Ken




view thread (4+ messages)  latest in thread

Message-ID: <3.0.32.19990820085859.00982350@ren.cncware.com>
Permalink:  ../3.0.32.19990820085859.00982350@ren.cncware.com/
Also on:    postgresql.org/message-id/3.0.32.19990820085859.00982350@ren.cncware.com

 · 

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: ken@ori-ind.com, stuart@comodo.net
  Subject: Re: [INTERFACES] eekk tuples ok when there not!
  In-Reply-To: <3.0.32.19990820085859.00982350@ren.cncware.com>

* 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