Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group