Skip to content

Commit 0d09688

Browse files
committed
Publish more openly the fact that autovacuum is working for wraparound
protection. Simon Riggs
1 parent b351eba commit 0d09688

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/backend/postmaster/autovacuum.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
*
5656
*
5757
* IDENTIFICATION
58-
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.81 2008/07/17 21:02:31 alvherre Exp $
58+
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.82 2008/07/21 15:27:02 alvherre Exp $
5959
*
6060
*-------------------------------------------------------------------------
6161
*/
@@ -2657,8 +2657,9 @@ autovac_report_activity(autovac_table *tab)
26572657
/* Report the command and possible options */
26582658
if (tab->at_dovacuum)
26592659
snprintf(activity, MAX_AUTOVAC_ACTIV_LEN,
2660-
"autovacuum: VACUUM%s",
2661-
tab->at_doanalyze ? " ANALYZE" : "");
2660+
"autovacuum: VACUUM%s%s",
2661+
tab->at_doanalyze ? " ANALYZE" : "",
2662+
tab->at_wraparound ? " (to prevent wraparound)" : "");
26622663
else
26632664
snprintf(activity, MAX_AUTOVAC_ACTIV_LEN,
26642665
"autovacuum: ANALYZE");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy