Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0e1c4b7

Browse files
committed
Rewrite comment for slightly greater accuracy.
Per an observation from Thom Brown that the old version contained a typo.
1 parentbb1afb5 commit0e1c4b7

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)

[8]ページ先頭

©2009-2025 Movatter.jp