pgsql: Make heap_page_is_all_visible independent of LVRelState
pgsql: Make heap_page_is_all_visible independent of LVRelState
От:
Melanie Plageman <melanieplageman@gmail.com>
Дата:
Make heap_page_is_all_visible independent of LVRelState This function only requires a few fields from LVRelState, so pass them in individually. This change allows calling heap_page_is_all_visible() from code such as pruneheap.c, which does not have access to an LVRelState. Author: Melanie Plageman Reviewed-by: Kirill Reshke Reviewed-by: Robert Haas Reviewed-by: Andres Freund Discussion: https://postgr.es/m/2wk7jo4m4qwh5sn33pfgerdjfujebbccsmmlownybddbh6nawl%40mdyyqpqzxjek Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/3e4705484e0c64c7e90d5cc697a9aaf474287d0d Modified Files -------------- src/backend/access/heap/vacuumlazy.c | 60 +++++++++++++++++++++++------------- 1 file changed, 38 insertions(+), 22 deletions(-)