Re: Returns from ExecTuplesOk() - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Returns from ExecTuplesOk()
Date
Msg-id 200204232058.g3NKwgT18225@candle.pha.pa.us
Whole thread Raw
In response to Returns from ExecTuplesOk()  (Paul M Foster <paulf@quillandmouse.com>)
List pgsql-general
Paul M Foster wrote:
> I'm confused. In libpq++, it seems that ExecTuplesOk() should return
> PGRES_TUPLES_OK if a tuples are returned from the query. Yet I'm getting
> PGRES_COMMAND_OK instead. When I then check Tuples(), it returns 1. Am I
> missing something?

I am not sure.  Does libpq++/examples help?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Fran Fabrizio
Date:
Subject: Re: when does a function name get mapped to an OID?
Next
From: "asdf asdasfa"
Date:
Subject: Performance Issues with count()