Re: Cursors and Transactions, why?

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Cursors and Transactions, why?
Дата
Msg-id 4074934A.2010408@joeconway.com
обсуждение исходный текст
Ответ на Re: Cursors and Transactions, why?  (Eric Ridge <ebr@tcdi.com>)
Ответы Re: Cursors and Transactions, why?  (Eric Ridge <ebr@tcdi.com>)
Список pgsql-general
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:

src/backend/utils/sort/tuplestore.c:tuplestore_puttuple()
8<--------------------------------------------------------
/*
  * Accept one tuple and append it to the tuplestore.
  *
  * Note that the input tuple is always copied; the caller need not save
  * it.
8<--------------------------------------------------------

Joe


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

Предыдущее
От: Kevin Lohka
Дата:
Сообщение: Re: Are functions automatically transactioned?
Следующее
От: Eric Ridge
Дата:
Сообщение: Re: Cursors and Transactions, why?