pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Revoke pg_stat_statements_reset() permissions
3+ messages / 1 participants
[nested] [flat]

* pgsql: Revoke pg_stat_statements_reset() permissions
@ 2018-09-25 00:57 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2018-09-25 00:57 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

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

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Revoke pg_stat_statements_reset() permissions
@ 2018-09-25 00:57 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2018-09-25 00:57 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Revoke pg_stat_statements_reset() permissions
@ 2018-09-25 00:57 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2018-09-25 00:57 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/90a1f97867feb6b6469c641f0e4a00842c52bafb

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2018-09-25 00:57 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 00:57 pgsql: Revoke pg_stat_statements_reset() permissions Michael Paquier <michael@paquier.xyz>
2018-09-25 00:57 pgsql: Revoke pg_stat_statements_reset() permissions Michael Paquier <michael@paquier.xyz>
2018-09-25 00:57 pgsql: Revoke pg_stat_statements_reset() permissions Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox