Re: Tid scan improvements

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Tid scan improvements
Дата
Msg-id 20181106035249.rtukjc24gm56sjc7@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Tid scan improvements  (David Rowley <david.rowley@2ndquadrant.com>)
Ответы Re: Tid scan improvements  (Edmund Horner <ejrh00@gmail.com>)
Список pgsql-hackers
On 2018-Nov-06, David Rowley wrote:

> 14. we pass 'false' to what?
> 
> + * save the tuple and the buffer returned to us by the access methods in
> + * our scan tuple slot and return the slot.  Note: we pass 'false' because
> + * tuples returned by heap_getnext() are pointers onto disk pages and were
> + * not created with palloc() and so should not be pfree()'d.  Note also
> + * that ExecStoreHeapTuple will increment the refcount of the buffer; the
> + * refcount will not be dropped until the tuple table slot is cleared.
>   */

Seems a mistake stemming from 29c94e03c7d0 ...

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: "Jonathan S. Katz"
Дата:
Сообщение: Re: First-draft release notes for back-branch releases
Следующее
От: Amit Langote
Дата:
Сообщение: Re: First-draft release notes for back-branch releases