Cursor question - Mailing list pgsql-general

From Tim Barnard
Subject Cursor question
Date
Msg-id 006501c0e534$91cc0160$a519af3f@hartcomm.com
Whole thread Raw
List pgsql-general
When retrieving the tuples from a select query using a cursor, are all of the matching tuples loaded into memory but only passed one at a time to the application using the cursor (I'm retrieving them with "fetch forward 1 in cursor" and using libpq)? Or is only each tuple loaded into memory, one at a time, with each fetch? I'm trying to figure out how much memory I'll need.
 
Tim
 

pgsql-general by date:

Previous
From: Farid Hajji
Date:
Subject: Re: Trouble with strange OUTER JOIN syntax
Next
From: Arcady Genkin
Date:
Subject: Compilation fails --with-ssl on Solaris 8