Thread: pgsql: Default monitoring roles - errata

pgsql: Default monitoring roles - errata

From
Simon Riggs
Date:
Default monitoring roles - errata

25fff40798fc4ac11a241bfd9ab0c45c085e2212 introduced
default monitoring roles. Apply these corrections:

* Allow access to pg_stat_get_wal_senders()
  by role pg_read_all_stats

* Correct comment in pg_stat_get_wal_receiver()
  to show it is no longer superuser-only.

Author: Feike Steenbergen
Reviewed-by: Michael Paquier

Apply to HEAD, then later backpatch to 10

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/76e117dbed8c0fee084fbfc06f15c6c377690f59

Modified Files
--------------
src/backend/replication/walreceiver.c | 3 ++-
src/backend/replication/walsender.c   | 8 +++++---
2 files changed, 7 insertions(+), 4 deletions(-)