Report correct name in autovacuum "work items" activity

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 98098faaff77a632c759c967f3b956524e492ee4
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-02-22T16:00:16Z
Releases: 12.0
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

Files

PathChange+/−
src/backend/postmaster/autovacuum.c modified +1 −1

Discussion