From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Move VM update code from lazy_scan_heap() to lazy_scan_prune(). |
Date: | 2024-01-18 19:45:31 |
Message-ID: | E1rQYKR-0022rd-9B@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Move VM update code from lazy_scan_heap() to lazy_scan_prune().
Most of the output parameters of lazy_scan_prune() were being
used to update the VM in lazy_scan_heap(). Moving that code into
lazy_scan_prune() simplifies lazy_scan_heap() and requires less
communication between the two.
This change permits some further code simplification, but that
is left for a separate commit.
Melanie Plageman, reviewed by me.
Discussion: http://postgr.es/m/CAAKRu_aM=OL85AOr-80wBsCr=vLVzhnaavqkVPRkFBtD0zsuLQ@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/cb970240f13df2b63f0410f81f452179a2b78d6f
Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 226 ++++++++++++++++++-----------------
1 file changed, 115 insertions(+), 111 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2024-01-18 20:17:59 | pgsql: Remove LVPagePruneState. |
Previous Message | Robert Haas | 2024-01-18 15:12:02 | pgsql: Clarify language in incremental backup glossary entry. |