Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1f01d59

Browse files
committed
Fix display of database name during autovacuum.
Cosimo Streppone
1 parent2becf48 commit1f01d59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎contrib/pg_autovacuum/pg_autovacuum.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Revisions by Christopher B. Browne, Liberty RMS
55
* Win32 Service code added by Dave Page
66
*
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 $
88
*/
99

1010
#include"postgres_fe.h"
@@ -479,7 +479,7 @@ remove_table_from_list(Dlelem *tbl_to_remove)
479479

480480
if (args->debug >=1)
481481
{
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);
483483
log_entry(logbuffer,LVL_DEBUG);
484484
fflush(LOGOUTPUT);
485485
}
@@ -1064,7 +1064,7 @@ perform_maintenance_command(db_info * dbi, tbl_info * tbl, int operation)
10641064

10651065
if (args->debug >=1)
10661066
{
1067-
sprintf(logbuffer,"Performing: %s",buf);
1067+
sprintf(logbuffer,"Performing: %s on database %s",buf,dbi->dbname);
10681068
log_entry(logbuffer,LVL_DEBUG);
10691069
fflush(LOGOUTPUT);
10701070
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp