Remove LVPagePruneState.
authorRobert Haas
Thu, 18 Jan 2024 20:17:09 +0000 (15:17 -0500)
committerRobert Haas
Thu, 18 Jan 2024 20:17:09 +0000 (15:17 -0500)
commite313a611370410f4efe4e816767759870b69dfa6
tree452c4ccb1c006c11df6d5e4921996a519effeb02
parentcb970240f13df2b63f0410f81f452179a2b78d6f
Remove LVPagePruneState.

Commit cb970240f13df2b63f0410f81f452179a2b78d6f moved some code from
lazy_scan_heap() to lazy_scan_prune(), and now some things that used to
need to be passed back and forth are completely local to lazy_scan_prune().
Hence, this struct is mostly obsolete.  The only thing that still
needs to be passed back to the caller is has_lpdead_items, and that's
also passed back by lazy_scan_noprune(), so do it the same way in both
cases.

Melanie Plageman, reviewed and slightly revised by me.

Discussion: http://postgr.es/m/CAAKRu_aM=OL85AOr-80wBsCr=vLVzhnaavqkVPRkFBtD0zsuLQ@mail.gmail.com
src/backend/access/heap/vacuumlazy.c
src/tools/pgindent/typedefs.list