pgsql: Revoke pg_stat_statements_reset() permissions

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Revoke pg_stat_statements_reset() permissions
Date: 2018-09-25 00:57:46
Message-ID: E1g4bfe-00084M-0Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Revoke pg_stat_statements_reset() permissions

Commit 25fff40 has granted execute permission of the function
pg_stat_statements_reset() to default role "pg_read_all_stats", but this
role is meant to read statistics, and not to reset them. The
permissions on this function are revoked from "pg_read_all_stats". The
version of pg_stat_statements is bumped up in consequence.

Author: Haribabu Kommi
Reviewed-by: Michael Paquier, Amit Kapila
Discussion: https://postgr.es/m/CAJrrPGf5fCnKqXObpwGN9nMyD--tzOf-7LFCJiz59Z1wJ5qj9A@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a3bb831efebf846ea1745b5cbe7ba2597bf33029

Modified Files
--------------
contrib/pg_stat_statements/Makefile | 7 ++++---
contrib/pg_stat_statements/pg_stat_statements--1.5--1.6.sql | 7 +++++++
contrib/pg_stat_statements/pg_stat_statements.control | 2 +-
3 files changed, 12 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-09-25 02:07:39 pgsql: Ignore publication tables when --no-publications is used
Previous Message Tom Lane 2018-09-24 21:30:00 pgsql: Sync our Snowball stemmer dictionaries with current upstream.