Re: heapam_index_build_range_scan's anyvisible

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: heapam_index_build_range_scan's anyvisible
Дата
Msg-id
20190610215638.4g2a5xpss33iufke@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
heapam_index_build_range_scan's anyvisible Robert Haas <robertmhaas@gmail.com>
Re: heapam_index_build_range_scan's anyvisible Alvaro Herrera <alvherre@2ndquadrant.com>
Re: heapam_index_build_range_scan's anyvisible Robert Haas <robertmhaas@gmail.com>
Re: heapam_index_build_range_scan's anyvisible Alvaro Herrera <alvherre@2ndquadrant.com>
Re: heapam_index_build_range_scan's anyvisible Ashwin Agrawal <aagrawal@pivotal.io>
Re: heapam_index_build_range_scan's anyvisible Andres Freund <andres@anarazel.de>
Re: heapam_index_build_range_scan's anyvisible Ashwin Agrawal <aagrawal@pivotal.io>
Re: heapam_index_build_range_scan's anyvisible Ashwin Agrawal <aagrawal@pivotal.io>
Re: heapam_index_build_range_scan's anyvisible Andres Freund <andres@anarazel.de>
Re: heapam_index_build_range_scan's anyvisible Ashwin Agrawal <aagrawal@pivotal.io>
Re: heapam_index_build_range_scan's anyvisible Alvaro Herrera <alvherre@2ndquadrant.com>
Re: heapam_index_build_range_scan's anyvisible Ashwin Agrawal <aagrawal@pivotal.io>
Re: heapam_index_build_range_scan's anyvisible Michael Paquier <michael@paquier.xyz>
Re: heapam_index_build_range_scan's anyvisible Andres Freund <andres@anarazel.de>
Re: heapam_index_build_range_scan's anyvisible Michael Paquier <michael@paquier.xyz>
Re: heapam_index_build_range_scan's anyvisible Andres Freund <andres@anarazel.de>
Re: heapam_index_build_range_scan's anyvisible Andres Freund <andres@anarazel.de>
Re: heapam_index_build_range_scan's anyvisible Michael Paquier <michael@paquier.xyz>
Hi,

On 2019-06-10 13:48:54 -0700, Ashwin Agrawal wrote:
> While at it might be helpful and better to also decouple HeapTuple
> dependency for IndexBuildCallback.

Indeed.


> Currently, all AM needs to build HeapTuple in
> index_build_range_scan function. I looked into all the callback functions
> and only htup->t_self is used from heaptuple in all the functions (unless I
> missed something). So, if seems fine will be happy to write patch to make
> that argument ItemPointer instead of HeapTuple?

I wonder if it should better be the slot? It's not inconceivable that
some AMs could benefit from that. Although it'd add some complication
to the heap HeapTupleIsHeapOnly case.

Greetings,

Andres Freund


В списке pgsql-hackers по дате отправления
От: David Rowley
Дата:
От: Thomas Munro
Дата:
FAQ