Doc: correct thinko in pg_buffercache documentation.
authorTom Lane
Fri, 28 Feb 2020 16:29:58 +0000 (11:29 -0500)
committerTom Lane
Fri, 28 Feb 2020 16:30:49 +0000 (11:30 -0500)
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

doc/src/sgml/pgbuffercache.sgml

index faf5a3115dc0a13d87aefbcc1a82893bc0ddb86b..b5233697c3f5de8d01664a17f2436173bf98e7c6 100644 (file)
@@ -24,8 +24,8 @@
  
 
  
-  By default use is restricted to superusers and members of the
-  pg_read_all_stats role. Access may be granted to others
+  By default, use is restricted to superusers and members of the
+  pg_monitor role. Access may be granted to others
   using GRANT.