Report correct name in autovacuum "work items" activity

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

Commit: 398cc6fb93814423f205dee435d1a174068c041a
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-02-22T16:00:15Z
Releases: 10.8
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