Re: [INTERFACES] eekk tuples ok when there not! - Mailing list pgsql-interfaces

From Ken J. Wright
Subject Re: [INTERFACES] eekk tuples ok when there not!
Date
Msg-id 3.0.32.19990820085859.00982350@ren.cncware.com
Whole thread Raw
List pgsql-interfaces
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



pgsql-interfaces by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [INTERFACES] eekk tuples ok when there not!
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] eekk tuples ok when there not!