diff options
author | Michael Paquier | 2020-01-23 06:56:56 +0000 |
---|---|---|
committer | Michael Paquier | 2020-01-23 06:56:56 +0000 |
commit | f942dfb952aaccb0163564c86c0b7654b8512807 (patch) | |
tree | b8c6884acdab490bb6318a275b74c5170d5d48c0 | |
parent | 611ce856f5a862a291a05d148828208e1f4ed46b (diff) |
Clarify some comments in vacuumlazy.c
Author: Justin Pryzby
Discussion: https://postgr.es/m/[email protected]
-rw-r--r-- | src/backend/access/heap/vacuumlazy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/access/heap/vacuumlazy.c b/src/backend/access/heap/vacuumlazy.c index 90caf07427e..8ce501151e9 100644 --- a/src/backend/access/heap/vacuumlazy.c +++ b/src/backend/access/heap/vacuumlazy.c @@ -1507,8 +1507,8 @@ lazy_scan_heap(Relation onerel, VacuumParams *params, LVRelStats *vacrelstats, /* * It should never be the case that the visibility map page is set * while the page-level bit is clear, but the reverse is allowed - * (if checksums are not enabled). Regardless, set the both bits - * so that we get back in sync. + * (if checksums are not enabled). Regardless, set both bits so + * that we get back in sync. * * NB: If the heap page is all-visible but the VM bit is not set, * we don't need to dirty the heap page. However, if checksums @@ -1563,9 +1563,9 @@ lazy_scan_heap(Relation onerel, VacuumParams *params, LVRelStats *vacrelstats, } /* - * If the all-visible page is turned out to be all-frozen but not - * marked, we should so mark it. Note that all_frozen is only valid - * if all_visible is true, so we must check both. + * If the all-visible page is all-frozen but not marked as such yet, + * mark it as all-frozen. Note that all_frozen is only valid if + * all_visible is true, so we must check both. */ else if (all_visible_according_to_vm && all_visible && all_frozen && !VM_ALL_FROZEN(onerel, blkno, &vmbuffer)) |