pgsql: Report correct name in autovacuum "work items" activity

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Report correct name in autovacuum "work items" activity
Date: 2019-02-22 16:01:10
Message-ID: E1gxDGA-0001NN-JD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/630de1131dca80fd63cecfbe6a14b8a5b405b434

Modified Files
--------------
src/backend/postmaster/autovacuum.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-02-22 17:23:47 pgsql: Fix plan created for inherited UPDATE/DELETE with all tables exc
Previous Message Peter Eisentraut 2019-02-22 08:09:07 pgsql: Add const qualifier