mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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
This commit is contained in:
@ -4,9 +4,10 @@ MODULE_big = pg_stat_statements
|
||||
OBJS = pg_stat_statements.o $(WIN32RES)
|
||||
|
||||
EXTENSION = pg_stat_statements
|
||||
DATA = pg_stat_statements--1.4.sql pg_stat_statements--1.4--1.5.sql \
|
||||
pg_stat_statements--1.3--1.4.sql pg_stat_statements--1.2--1.3.sql \
|
||||
pg_stat_statements--1.1--1.2.sql pg_stat_statements--1.0--1.1.sql \
|
||||
DATA = pg_stat_statements--1.4.sql pg_stat_statements--1.5--1.6.sql \
|
||||
pg_stat_statements--1.4--1.5.sql pg_stat_statements--1.3--1.4.sql \
|
||||
pg_stat_statements--1.2--1.3.sql pg_stat_statements--1.1--1.2.sql \
|
||||
pg_stat_statements--1.0--1.1.sql \
|
||||
pg_stat_statements--unpackaged--1.0.sql
|
||||
PGFILEDESC = "pg_stat_statements - execution statistics of SQL statements"
|
||||
|
||||
|
Reference in New Issue
Block a user