Received: from cncware.whidbey.com (IDENT:root@cncware.whidbey.com [208.25.171.37]) by hub.org (8.9.3/8.9.3) with ESMTP id LAA87537 for ; Fri, 20 Aug 1999 11:58:30 -0400 (EDT) (envelope-from ken@ori-ind.com) Received: from ken (ken.cncware.com [192.168.61.201]) by cncware.whidbey.com (8.8.7/8.8.7) with SMTP id IAA09884; Fri, 20 Aug 1999 08:53:36 -0700 Message-Id: <3.0.32.19990820085859.00982350@ren.cncware.com> X-Sender: ken_ori@ren.cncware.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Fri, 20 Aug 1999 08:59:01 -0700 To: StOo , interfaces From: "Ken J. Wright" Subject: Re: [INTERFACES] eekk tuples ok when there not! Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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