Remove hastup from LVPagePruneState.
authorRobert Haas <[email protected]>
Thu, 11 Jan 2024 18:22:04 +0000 (13:22 -0500)
committerRobert Haas <[email protected]>
Thu, 11 Jan 2024 18:30:12 +0000 (13:30 -0500)
commite2d5b3b9b643739bd83e42769b44005dfd2bbb90
tree30a128eaac7b7eb1e89a4c56e79daf8465c5f2c9
parent5faffa0434b484772782ff4763c0b2080222dde0
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
src/backend/access/heap/vacuumlazy.c