From: Peter Geoghegan Date: Tue, 30 Nov 2021 19:40:33 +0000 (-0800) Subject: vacuumlazy.c: fix remaining "dead tuple" references. X-Git-Url: http://git.postgresql.org/gitweb/-?a=commitdiff_plain;h=4bdfe6855901a4104dbdac2be53d465b626e244d;p=users%2Frhaas%2Fpostgres.git vacuumlazy.c: fix remaining "dead tuple" references. Oversight in commit 4f8d9d12. Reported-By: Masahiko Sawada Discussion: https://postgr.es/m/CAD21AoDm38Em0bvRqeQKr4HPvOj65Y8cUgCP4idMk39iaLrxyw@mail.gmail.com --- diff --git a/src/backend/access/heap/vacuumlazy.c b/src/backend/access/heap/vacuumlazy.c index 6a2fa2ba0a..282b44f87b 100644 --- a/src/backend/access/heap/vacuumlazy.c +++ b/src/backend/access/heap/vacuumlazy.c @@ -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.