Remove hastup from LVPagePruneState.

Robert Haas <rhaas@postgresql.org>

Commit: e2d5b3b9b643739bd83e42769b44005dfd2bbb90
Author: Robert Haas <rhaas@postgresql.org>
Date: 2024-01-11T18:30:12Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/access/heap/vacuumlazy.c modified +28 −25

Discussion