cursor questions

From: Alexander Cohen <alex(at)toomuchspace(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: cursor questions
Date: 2004-04-20 13:21:58
Message-ID: B38B0C37-92CD-11D8-BA8C-000A95B947DC@toomuchspace.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Im not sure if this is right place to ask this question, but here goes.
I have have declared a cursor with an query within a transaction. I
need to get the current position of the cursor and also the number of
rows it represents. Is there any way to do this? I was thinking i could
do "SELECT count(cursor_column) FROM cursor_name", but i get a relation
does not exist error.

thanks.

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

Browse pgsql-general by date

  From Date Subject
Next Message csysi 2004-04-20 13:36:57 upgrade postgres 7.1 to 7.4.2
Previous Message Steve Manes 2004-04-20 13:19:34 Re: [OT] Tom's/Marc's spam filters?