]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Report correct name in autovacuum "work items" activity
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Feb 2019 16:00:15 +0000 (13:00 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 Feb 2019 16:00:15 +0000 (13:00 -0300)
commit630de1131dca80fd63cecfbe6a14b8a5b405b434
tree0afb90d87451364db254094830b5b417c76455b1
parentc08b65bc4371f0154566447a8cb4bc7691bf0815
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