Default monitoring roles - errata
authorSimon Riggs <simon@2ndQuadrant.com>
Sat, 6 Jan 2018 11:48:21 +0000 (11:48 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Sat, 6 Jan 2018 11:48:21 +0000 (11:48 +0000)
commit6668a54eb8ef639a3182ae9e37e4e67982c44292
treece8791072b2119048b2ef3dbd9c1c5cb4567173c
parentccf312a4488ab8bb38dfd87168bf8915045d1a82
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
src/backend/replication/walreceiver.c
src/backend/replication/walsender.c