Content-Length: 261797 | pFad | http://github.com/postgrespro/postgres/commit/0e1c4b7d974b9ff3b1cd62a9689a8560a8bab60e

F6 Rewrite comment for slightly greater accuracy. · postgrespro/postgres@0e1c4b7 · GitHub
Skip to content

Commit 0e1c4b7

Browse files
committed
Rewrite comment for slightly greater accuracy.
Per an observation from Thom Brown that the old version contained a typo.
1 parent bb1afb5 commit 0e1c4b7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/commands/vacuumlazy.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,9 @@ lazy_scan_heap(Relation onerel, LVRelStats *vacrelstats,
488488
if (!ConditionalLockBufferForCleanup(buf))
489489
{
490490
/*
491-
* It's OK to skip vacuuming a page, as long as its not got data
492-
* that needs to be cleaned for wraparound avoidance.
491+
* If we're not scanning the whole relation to guard against XID
492+
* wraparound, it's OK to skip vacuuming a page. The next vacuum
493+
* will clean it up.
493494
*/
494495
if (!scan_all)
495496
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/0e1c4b7d974b9ff3b1cd62a9689a8560a8bab60e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy