cluster cleanup: explicitly log vacuum operation

This commit is contained in:
Ian Barwick
2020-03-26 11:38:51 +09:00
parent 5d92c99bb9
commit f3258c5002
2 changed files with 7 additions and 2 deletions

View File

@@ -1402,6 +1402,10 @@ do_cluster_cleanup(void)
log_warning(_("unable to vacuum table \"repmgr.monitoring_history\""));
log_detail("%s", PQerrorMessage(primary_conn));
}
else
{
log_info(_("vacuum of table \"repmgr.monitoring_history\" completed"));
}
if (runtime_options.keep_history == 0)
{