full tuple count in cursor.

From: Alexander Cohen <alex(at)toomuchspace(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: full tuple count in cursor.
Date: 2004-05-10 03:09:21
Message-ID: 6ECD3A88-A22F-11D8-9169-000A95B947DC@toomuchspace.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a cursor that i got from a select statement. I would like to
know how many records are in the cursor so i dont go over the last one
when using FETCH on the cursor. How can i do this?

thanks!

--
Alexander Cohen
http://www.toomuchspace.com
(819) 348-9237
(819) 432-3443

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2004-05-10 03:58:12 Re: Adding MERGE to the TODO list (resend with subject)
Previous Message Robert Morgan 2004-05-09 23:45:54 error messages (not valid postgresql link resoucre)