What to use to get number of tuples in a query

From: Hitesh Patel <hitesh(at)presys(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: What to use to get number of tuples in a query
Date: 1999-05-21 21:51:10
Message-ID: 3745D54E.B3FCD745@presys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

What should I use to get the number of tuples returned by a PQexec()?
PQntuples seems to be doing the job but i'm not sure if that is the
right thing to use.

--
|---------------------------------|----------------------------|
| Hitesh Patel | Voice: (541) 759-3126 |
| Facilities Development Manager | Fax: (541) 759-3214 |
| Preferred Systems | Email: hitesh(at)presys(dot)com |
|---------------------------------|----------------------------|

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Piotr Stelmaszyk 1999-05-22 10:24:28 jdbc - getArray
Previous Message Dustin Engelhaupt 1999-05-21 19:55:49 Using the Perl5 interface on another server