From: | Jeff Davis <jdavis(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Grant memory views to pg_read_all_stats. |
Date: | 2021-10-27 21:10:48 |
Message-ID: | E1mfqC8-0002Sp-Fs@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Grant memory views to pg_read_all_stats.
Grant privileges on views pg_backend_memory_contexts and
pg_shmem_allocations to the role pg_read_all_stats. Also grant on the
underlying functions that those views depend on.
Author: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Reviewed-by: Nathan Bossart <bossartn(at)amazon(dot)com>
Discussion: https://postgr.es/m/CALj2ACWAZo3Ar_EVsn2Zf9irG+hYK3cmh1KWhZS_Od45nd01RA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/77ea4f94393eb4a16df32b573bf053bedaef2e09
Modified Files
--------------
doc/src/sgml/catalogs.sgml | 6 ++--
src/backend/catalog/system_views.sql | 4 +++
src/include/catalog/catversion.h | 2 +-
src/test/regress/expected/privileges.out | 47 ++++++++++++++++++++++++++++++++
src/test/regress/sql/privileges.sql | 25 +++++++++++++++++
5 files changed, 81 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2021-10-27 21:36:05 | pgsql: Remove obsolete nbtree LP_DEAD item comments. |
Previous Message | Andres Freund | 2021-10-27 20:53:32 | Re: pgsql: Refactor the sslfiles Makefile target for ease of use |