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

Commit398cc6f

Browse files
committed
Report correct name in autovacuum "work items" activity
We were reporting the database name instead of the relation name topg_stat_activity. Repair.Reported-by: Justin PryzbyDiscussion:https://postgr.es/m/20190220185552.GR28750@telsasoft.com
1 parentaffee8b commit398cc6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/postmaster/autovacuum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2656,7 +2656,7 @@ perform_work_item(AutoVacuumWorkItem *workitem)
26562656
if (!cur_relname|| !cur_nspname|| !cur_datname)
26572657
gotodeleted2;
26582658

2659-
autovac_report_workitem(workitem,cur_nspname,cur_datname);
2659+
autovac_report_workitem(workitem,cur_nspname,cur_relname);
26602660

26612661
/* clean up memory before each work item */
26622662
MemoryContextResetAndDeleteChildren(PortalContext);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp