|
4 | 4 | * Revisions by Christopher B. Browne, Liberty RMS |
5 | 5 | * Win32 Service code added by Dave Page |
6 | 6 | * |
7 | | - * $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.34 2005/05/11 18:07:14 momjian Exp $ |
| 7 | + * $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.35 2005/06/15 13:55:23 momjian Exp $ |
8 | 8 | */ |
9 | 9 |
|
10 | 10 | #include"postgres_fe.h" |
@@ -479,7 +479,7 @@ remove_table_from_list(Dlelem *tbl_to_remove) |
479 | 479 |
|
480 | 480 | if (args->debug >=1) |
481 | 481 | { |
482 | | -sprintf(logbuffer,"Removing table: %s from list.",tbl->table_name); |
| 482 | +sprintf(logbuffer,"Removing table: %s.%s from list.",tbl->dbi->dbname,tbl->table_name); |
483 | 483 | log_entry(logbuffer,LVL_DEBUG); |
484 | 484 | fflush(LOGOUTPUT); |
485 | 485 | } |
@@ -1064,7 +1064,7 @@ perform_maintenance_command(db_info * dbi, tbl_info * tbl, int operation) |
1064 | 1064 |
|
1065 | 1065 | if (args->debug >=1) |
1066 | 1066 | { |
1067 | | -sprintf(logbuffer,"Performing: %s",buf); |
| 1067 | +sprintf(logbuffer,"Performing: %s on database %s",buf,dbi->dbname); |
1068 | 1068 | log_entry(logbuffer,LVL_DEBUG); |
1069 | 1069 | fflush(LOGOUTPUT); |
1070 | 1070 | } |
|