mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Publish more openly the fact that autovacuum is working for wraparound
protection. Simon Riggs
This commit is contained in:
@ -55,7 +55,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.81 2008/07/17 21:02:31 alvherre Exp $
|
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.82 2008/07/21 15:27:02 alvherre Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -2657,8 +2657,9 @@ autovac_report_activity(autovac_table *tab)
|
|||||||
/* Report the command and possible options */
|
/* Report the command and possible options */
|
||||||
if (tab->at_dovacuum)
|
if (tab->at_dovacuum)
|
||||||
snprintf(activity, MAX_AUTOVAC_ACTIV_LEN,
|
snprintf(activity, MAX_AUTOVAC_ACTIV_LEN,
|
||||||
"autovacuum: VACUUM%s",
|
"autovacuum: VACUUM%s%s",
|
||||||
tab->at_doanalyze ? " ANALYZE" : "");
|
tab->at_doanalyze ? " ANALYZE" : "",
|
||||||
|
tab->at_wraparound ? " (to prevent wraparound)" : "");
|
||||||
else
|
else
|
||||||
snprintf(activity, MAX_AUTOVAC_ACTIV_LEN,
|
snprintf(activity, MAX_AUTOVAC_ACTIV_LEN,
|
||||||
"autovacuum: ANALYZE");
|
"autovacuum: ANALYZE");
|
||||||
|
Reference in New Issue
Block a user