git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bb1afb5)
Rewrite comment for slightly greater accuracy.
Tue, 8 Nov 2011 13:11:25 +0000 (08:11 -0500)
Tue, 8 Nov 2011 13:11:25 +0000 (08:11 -0500)
Per an observation from Thom Brown that the old version contained a typo.


diff --git a/src/backend/commands/vacuumlazy.c b/src/backend/commands/vacuumlazy.c
index bbf8b8d084d9d51b715a4553b88359aa4973db99..38deddc47c0d0c9bd8c3e17b7f39ac51d62dec7f 100644 (file)
--- a/src/backend/commands/vacuumlazy.c
+++ b/src/backend/commands/vacuumlazy.c
@@ -488,8 +488,9 @@ lazy_scan_heap(Relation onerel, LVRelStats *vacrelstats,
if (!ConditionalLockBufferForCleanup(buf))
{
/*
- * It's OK to skip vacuuming a page, as long as its not got data
- * that needs to be cleaned for wraparound avoidance.
+ * If we're not scanning the whole relation to guard against XID
+ * wraparound, it's OK to skip vacuuming a page. The next vacuum
+ * will clean it up.
*/
if (!scan_all)
{
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /