]> granicus.if.org Git - postgresql/commit
Report correct name in autovacuum "work items" activity
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Feb 2019 16:00:16 +0000 (13:00 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Feb 2019 16:00:16 +0000 (13:00 -0300)
commit98098faaff77a632c759c967f3b956524e492ee4
tree745273d99291d53d76135bfe01116b8dffc2297b
parent1373ba55c9b9c9a5e4705daa03643255b4de1519
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
src/backend/postmaster/autovacuum.c