HI,

I had a question about the cursor internals implementation. When you Fetch next 
'n' results without moving the cursors, is this kind of functionality 
implemented by firstly executing the whole query and then moving the cursor 
over the results, or are the movements done on active database lookups, moving 
forward and backward...

it seems that the cursor implementation functions evaluate the whole query and 
then return results as requested, it would seem to be too difficult to 
otherwise support a functionality that returns next 10 results without moving 
the cursors... we need to determine this since in our case we are
dealing with a query that returns millions of records, and we would rather the 
cursor did not evaluate the whole query upfront...

any help is greatly appreciated...

thanks

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to