pgsql: Remove hastup from LVPagePruneState.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove hastup from LVPagePruneState.
Date: 2024-01-11 18:43:02
Message-ID: E1rO018-000x2F-Ru@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove hastup from LVPagePruneState.

Instead, just have lazy_scan_prune() and lazy_scan_noprune() update
LVRelState->nonempty_pages directly. This makes the two functions
more similar and also removes makes lazy_scan_noprune need one fewer
output parameters.

Melanie Plageman, reviewed by Andres Freund, Michael Paquier, and me

Discussion: http://postgr.es/m/CAAKRu_btji_wQdg=ok-5E4v_bGVxKYnnFFe7RA6Frc1EcOwtSg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e2d5b3b9b643739bd83e42769b44005dfd2bbb90

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 53 +++++++++++++++++++-----------------
1 file changed, 28 insertions(+), 25 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2024-01-11 18:49:12 Re: pgsql: Add new pg_walsummary tool.
Previous Message Robert Haas 2024-01-11 18:27:58 pgsql: Reindent after commit d9ef650fca7bc574586f4171cd929cfd5240326e.