vacuumlazy.c: fix remaining "dead tuple" references.
authorPeter Geoghegan <[email protected]>
Tue, 30 Nov 2021 19:40:33 +0000 (11:40 -0800)
committerPeter Geoghegan <[email protected]>
Tue, 30 Nov 2021 19:40:33 +0000 (11:40 -0800)
Oversight in commit 4f8d9d12.

Reported-By: Masahiko Sawada <[email protected]>
Discussion: https://postgr.es/m/CAD21AoDm38Em0bvRqeQKr4HPvOj65Y8cUgCP4idMk39iaLrxyw@mail.gmail.com

src/backend/access/heap/vacuumlazy.c

index 6a2fa2ba0aa71584e5d47d2b5affe9d89e93af6c..282b44f87bf0757b6304d23a5f262a8b820dbfe7 100644 (file)
@@ -955,7 +955,7 @@ lazy_scan_heap(LVRelState *vacrel, VacuumParams *params, bool aggressive)
        lazy_check_wraparound_failsafe(vacrel);
 
        /*
-        * Allocate the space for dead tuples.  Note that this handles parallel
+        * Allocate the space for dead_items.  Note that this handles parallel
         * VACUUM initialization as part of allocating shared memory space used
         * for dead_items.
         */
@@ -1359,7 +1359,7 @@ lazy_scan_heap(LVRelState *vacrel, VacuumParams *params, bool aggressive)
                 * Prune and freeze tuples.
                 *
                 * Accumulates details of remaining LP_DEAD line pointers on page in
-                * dead tuple list.  This includes LP_DEAD line pointers that we
+                * dead_items array.  This includes LP_DEAD line pointers that we
                 * pruned ourselves, as well as existing LP_DEAD line pointers that
                 * were pruned some time earlier.  Also considers freezing XIDs in the
                 * tuple headers of remaining items with storage.