Re: Cursors and Transactions, why?

Поиск
Список
Период
Сортировка
От Eric Ridge
Тема Re: Cursors and Transactions, why?
Дата
Msg-id 116AA260-88F5-11D8-91AB-000A95BB5944@tcdi.com
обсуждение исходный текст
Ответ на Re: Cursors and Transactions, why?  (Joe Conway <mail@joeconway.com>)
Ответы Re: Cursors and Transactions, why?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Apr 7, 2004, at 7:48 PM, Joe Conway wrote:

> Eric Ridge wrote:
>> Is the tuplestore basically just an array of ItemPointer-s?  In mean,
>> it's not a copy of each entire row, is it?
>
> Yup, it is copied:

wow.  I should go back and read the archives to see if this was
discussed already, but I can't help but wonder if there's a way to only
copy pointers to the tuples.  I realize VACUUM could screw it up, but
maybe something could be invented (or re-used) to help guard against
that.

eric


В списке pgsql-general по дате отправления:

Предыдущее
От: Eric Ridge
Дата:
Сообщение: Re: Cursors and Transactions, why?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: invalid memory alloc request size 0