Content-Length: 258439 | pFad | http://github.com/postgrespro/postgres_cluster/commit/98098faaff77a632c759c967f3b956524e492ee4

03 Report correct name in autovacuum "work items" activity · postgrespro/postgres_cluster@98098fa · GitHub
Skip to content

Commit 98098fa

Browse files
committed
Report correct name in autovacuum "work items" activity
We were reporting the database name instead of the relation name to pg_stat_activity. Repair. Reported-by: Justin Pryzby Discussion: https://postgr.es/m/20190220185552.GR28750@telsasoft.com
1 parent 1373ba5 commit 98098fa

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
@@ -2633,7 +2633,7 @@ perform_work_item(AutoVacuumWorkItem *workitem)
26332633
if (!cur_relname || !cur_nspname || !cur_datname)
26342634
goto deleted2;
26352635

2636-
autovac_report_workitem(workitem, cur_nspname, cur_datname);
2636+
autovac_report_workitem(workitem, cur_nspname, cur_relname);
26372637

26382638
/* clean up memory before each work item */
26392639
MemoryContextResetAndDeleteChildren(PortalContext);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/98098faaff77a632c759c967f3b956524e492ee4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy