Returns from ExecTuplesOk()

From: Paul M Foster <paulf(at)quillandmouse(dot)com>
To: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Returns from ExecTuplesOk()
Date: 2002-04-22 02:58:10
Message-ID: 20020421225809.A18975@quillandmouse.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

Paul

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Reyes 2002-04-22 03:25:19 Re: One particular large database application
Previous Message GB Clark 2002-04-22 01:34:06 Re: PostgreSQL - regularly sync.ing remote and local data