forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitedb9797
committed
Revoke pg_stat_statements_reset() permissions
Commit25fff40 has granted execute permission of the functionpg_stat_statements_reset() to default role "pg_read_all_stats", but thisrole is meant to read statistics, and not to reset them. Thepermissions on this function are revoked from "pg_read_all_stats". Theversion of pg_stat_statements is bumped up in consequence.Author: Haribabu KommiReviewed-by: Michael Paquier, Amit KapilaDiscussion:https://postgr.es/m/CAJrrPGf5fCnKqXObpwGN9nMyD--tzOf-7LFCJiz59Z1wJ5qj9A@mail.gmail.com1 parentfd58231 commitedb9797
File tree
3 files changed
+12
-4
lines changed- contrib/pg_stat_statements
3 files changed
+12
-4
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 |
| - | |
9 |
| - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
|
0 commit comments
Comments
(0)