Cursor question

From: "Tim Barnard" <tbarnard(at)povn(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Cursor question
Date: 2001-05-25 16:05:50
Message-ID: 006501c0e534$91cc0160$a519af3f@hartcomm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Arcady Genkin 2001-05-25 16:17:19 Bitwise operators in SQL
Previous Message Arcady Genkin 2001-05-25 15:51:26 Compilation fails --with-ssl on Solaris 8