Commit 963ea55c authored by Tom Lane's avatar Tom Lane

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
parent db989184
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
</para> </para>
<para> <para>
By default use is restricted to superusers and members of the By default, use is restricted to superusers and members of the
<literal>pg_read_all_stats</literal> role. Access may be granted to others <literal>pg_monitor</literal> role. Access may be granted to others
using <command>GRANT</command>. using <command>GRANT</command>.
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment