]> granicus.if.org Git - postgresql/commit
Revoke pg_stat_statements_reset() permissions
authorMichael Paquier <michael@paquier.xyz>
Tue, 25 Sep 2018 00:55:44 +0000 (09:55 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 25 Sep 2018 00:55:44 +0000 (09:55 +0900)
commitedb9797660541b217d23ae7c02b96b496d34fec4
tree5735ed81ad952fe02138f22e8d21081dda1890a6
parentfd582317e10e26083b8c720598bfcdbf89787112
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
contrib/pg_stat_statements/Makefile
contrib/pg_stat_statements/pg_stat_statements--1.5--1.6.sql [new file with mode: 0644]
contrib/pg_stat_statements/pg_stat_statements.control