aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/pg_autovacuum/pg_autovacuum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/pg_autovacuum/pg_autovacuum.c b/contrib/pg_autovacuum/pg_autovacuum.c
index e44207e7edf..36b10d657bf 100644
--- a/contrib/pg_autovacuum/pg_autovacuum.c
+++ b/contrib/pg_autovacuum/pg_autovacuum.c
@@ -4,7 +4,7 @@
* Revisions by Christopher B. Browne, Liberty RMS
* Win32 Service code added by Dave Page
*
- * $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.34 2005/05/11 18:07:14 momjian Exp $
+ * $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.35 2005/06/15 13:55:23 momjian Exp $
*/
#include "postgres_fe.h"
@@ -479,7 +479,7 @@ remove_table_from_list(Dlelem *tbl_to_remove)
if (args->debug >= 1)
{
- sprintf(logbuffer, "Removing table: %s from list.", tbl->table_name);
+ sprintf(logbuffer, "Removing table: %s.%s from list.", tbl->dbi->dbname, tbl->table_name);
log_entry(logbuffer, LVL_DEBUG);
fflush(LOGOUTPUT);
}
@@ -1064,7 +1064,7 @@ perform_maintenance_command(db_info * dbi, tbl_info * tbl, int operation)
if (args->debug >= 1)
{
- sprintf(logbuffer, "Performing: %s", buf);
+ sprintf(logbuffer, "Performing: %s on database %s", buf, dbi->dbname);
log_entry(logbuffer, LVL_DEBUG);
fflush(LOGOUTPUT);
}