From 880643b9cd1b87c1afb376a9f9a6f5a1df7aa644 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 28 Feb 2020 11:29:59 -0500 Subject: [PATCH] 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 --- doc/src/sgml/pgbuffercache.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/pgbuffercache.sgml b/doc/src/sgml/pgbuffercache.sgml index faf5a3115d..b5233697c3 100644 --- a/doc/src/sgml/pgbuffercache.sgml +++ b/doc/src/sgml/pgbuffercache.sgml @@ -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.