diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-02-28 11:29:59 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-02-28 11:29:59 -0500 |
commit | 880643b9cd1b87c1afb376a9f9a6f5a1df7aa644 (patch) | |
tree | ecf977deadf09d5d4a3177aa01629940d1114351 | |
parent | 8e076f4f9ae3c19c8142e88ca1b6b1d25899dc64 (diff) | |
download | postgresql-880643b9cd1b87c1afb376a9f9a6f5a1df7aa644.tar.gz postgresql-880643b9cd1b87c1afb376a9f9a6f5a1df7aa644.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
-rw-r--r-- | doc/src/sgml/pgbuffercache.sgml | 4 |
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> |