Re: [INTERFACES] eekk tuples ok when there not!

From: "Ken J(dot) Wright" <ken(at)ori-ind(dot)com>
To: StOo <stuart(at)comodo(dot)net>, interfaces <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] eekk tuples ok when there not!
Date: 1999-08-20 15:59:01
Message-ID: 3.0.32.19990820085859.00982350@ren.cncware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 1999-08-20 16:33:52 Re: [INTERFACES] eekk tuples ok when there not!
Previous Message The Hermit Hacker 1999-08-20 15:44:15 Re: [INTERFACES] eekk tuples ok when there not!