Default monitoring roles - errata
authorSimon Riggs
Sun, 28 Jan 2018 16:14:31 +0000 (16:14 +0000)
committerSimon Riggs
Sun, 28 Jan 2018 16:14:31 +0000 (16:14 +0000)
commit76e117dbed8c0fee084fbfc06f15c6c377690f59
treea3741c059b1b688943edf81c1a6339ae36b2cae7
parent2d71b2700b20f2a2274d69598c6fc979cba7f9b5
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