From: Alvaro Herrera Date: Mon, 21 Jul 2008 15:27:08 +0000 (+0000) Subject: Publish more openly the fact that autovacuum is working for wraparound X-Git-Tag: recoveryinfrav9~793 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=1aa17e7095b890eb503e26882a9c2d0f44cd0c82;p=users%2Fsimon%2Fpostgres.git Publish more openly the fact that autovacuum is working for wraparound protection. Simon Riggs --- diff --git a/src/backend/postmaster/autovacuum.c b/src/backend/postmaster/autovacuum.c index 12dbfa811b..aa4d790398 100644 --- a/src/backend/postmaster/autovacuum.c +++ b/src/backend/postmaster/autovacuum.c @@ -2657,8 +2657,9 @@ autovac_report_activity(autovac_table *tab) /* Report the command and possible options */ if (tab->at_dovacuum) snprintf(activity, MAX_AUTOVAC_ACTIV_LEN, - "autovacuum: VACUUM%s", - tab->at_doanalyze ? " ANALYZE" : ""); + "autovacuum: VACUUM%s%s", + tab->at_doanalyze ? " ANALYZE" : "", + tab->at_wraparound ? " (to prevent wraparound)" : ""); else snprintf(activity, MAX_AUTOVAC_ACTIV_LEN, "autovacuum: ANALYZE");