Rename dead_tuples to dead_items in vacuumlazy.c
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-11-24T05:45:48Z
Lists: pgsql-hackers
Attachments
- v1-0001-vacuumlazy.c-Rename-dead_tuples-to-dead_items.patch (application/octet-stream) patch v1-0001
Attached patch performs polishing within vacuumlazy.c, as follow-up work to the refactoring work in Postgres 14. This mainly consists of changing references of dead tuples to dead items, which reflects the fact that VACUUM no longer deals with TIDs that might point to remaining heap tuples with storage -- the TIDs in the array must now strictly point to LP_DEAD stub line pointers that remain in the heap, following pruning. I've also simplified header comments, and comments above the main entry point functions. These comments made much more sense back when lazy_scan_heap() was simpler, but wasn't yet broken up into smaller, better-scoped functions. If there are no objections, I'll move on this soon. It's mostly just mechanical changes. -- Peter Geoghegan
Commits
-
vacuumlazy.c: fix remaining "dead tuple" references.
- 4bdfe6855901 15.0 landed
-
vacuumlazy.c: Rename dead_tuples to dead_items.
- 4f8d9d121795 15.0 landed
-
Remove tupgone special case from vacuumlazy.c.
- 8523492d4e34 14.0 cited
-
Standardize ItemIdData terminology.
- ae7291acbc5a 12.0 cited