From: | Melanie Plageman <melanieplageman(at)gmail(dot)com> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make heap_page_is_all_visible independent of LVRelState |
Date: | 2025-10-14 21:44:56 |
Message-ID: | E1v8mpE-001iaX-1l@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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 <melanieplageman(at)gmail(dot)com>
Reviewed-by: Kirill Reshke <reshkekirill(at)gmail(dot)com>
Reviewed-by: Robert Haas <robertmhaas(at)gmail(dot)com>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Masahiko Sawada | 2025-10-15 00:36:31 | pgsql: Revert "pg_createsubscriber: Add log message when no publication |
Previous Message | Melanie Plageman | 2025-10-14 21:06:15 | pgsql: Inline TransactionIdFollows/Precedes[OrEquals]() |