Re: Cursor question

Поиск
Список
Период
Сортировка
От Tim Barnard
Тема Re: Cursor question
Дата
Msg-id 008a01c0e53b$78269700$a519af3f@hartcomm.com
обсуждение исходный текст
Ответ на Cursor question  ("Tim Barnard" <tbarnard@povn.com>)
Список pgsql-general
Disregard my last question. I've found I can use LIMIT
and OFFSET to control the number of records returned.
 
Tim
----- Original Message -----
Sent: Friday, May 25, 2001 9:05 AM
Subject: [GENERAL] Cursor question

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 по дате отправления:

Предыдущее
От: Arcady Genkin
Дата:
Сообщение: Bitwise operators in SQL
Следующее
От: The Hermit Hacker
Дата:
Сообщение: PostgreSQL v7.1.2 Now Available ...