aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-02-28 11:29:58 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-02-28 11:30:49 -0500
commit963ea55c34cc325243fd30468ce8c629572f0c73 (patch)
tree1807d801de9bc29e0a0f8145c100e2552114d553 /doc/src
parentdb989184cda7f4aa1ff764cca96142029e7e093b (diff)
downloadpostgresql-963ea55c34cc325243fd30468ce8c629572f0c73.tar.gz
postgresql-963ea55c34cc325243fd30468ce8c629572f0c73.zip
Doc: correct thinko in pg_buffercache documentation.
Access to this module is granted to the pg_monitor role, not pg_read_all_stats. (Given the view's performance impact, it seems wise to be restrictive, so I think this was the correct decision --- and anyway it was clearly intentional.) Per bug #16279 from Philip Semanchuk. Discussion: https://postgr.es/m/16279-fcaac33c68aab0ab@postgresql.org
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/pgbuffercache.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/pgbuffercache.sgml b/doc/src/sgml/pgbuffercache.sgml
index faf5a3115dc..b5233697c3f 100644
--- a/doc/src/sgml/pgbuffercache.sgml
+++ b/doc/src/sgml/pgbuffercache.sgml
@@ -24,8 +24,8 @@
</para>
<para>
- By default use is restricted to superusers and members of the
- <literal>pg_read_all_stats</literal> role. Access may be granted to others
+ By default, use is restricted to superusers and members of the
+ <literal>pg_monitor</literal> role. Access may be granted to others
using <command>GRANT</command>.
</para>