Report correct name in autovacuum "work items" activity

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

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