projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9dec21
)
Publish more openly the fact that autovacuum is working for wraparound
author
Alvaro Herrera
<
[email protected]
>
Mon, 21 Jul 2008 15:27:08 +0000
(15:27 +0000)
committer
Alvaro Herrera
<
[email protected]
>
Mon, 21 Jul 2008 15:27:08 +0000
(15:27 +0000)
protection.
Simon Riggs
src/backend/postmaster/autovacuum.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/autovacuum.c
b/src/backend/postmaster/autovacuum.c
index 12dbfa811b2c2889593c39e53a244a5602d63c80..aa4d7903980464a3d437c75acad66944f491b44e 100644
(file)
--- 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");