Received: from mail.presys.com (preferred-sys.presys.com [206.100.164.250]) by hub.org (8.9.3/8.9.3) with SMTP id RAA71557 for ; Fri, 21 May 1999 17:54:00 -0400 (EDT) (envelope-from hitesh@presys.com) Received: (qmail 8583 invoked from network); 21 May 1999 21:53:59 -0000 Received: from thehog.bk.presys.com (HELO presys.com) (206.100.164.237) by preferred-sys.presys.com with SMTP; 21 May 1999 21:53:59 -0000 Sender: root Message-ID: <3745D54E.B3FCD745@presys.com> Date: Fri, 21 May 1999 14:51:10 -0700 From: Hitesh Patel X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.8 i586) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: What to use to get number of tuples in a query Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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@presys.com | |---------------------------------|----------------------------|