Re: Revoke execution permission of pg_stat_statements_reset() frompg_read_all_stats role - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Revoke execution permission of pg_stat_statements_reset() frompg_read_all_stats role
Date
Msg-id 20180924154419.GD1103@paquier.xyz
Whole thread Raw
In response to Revoke execution permission of pg_stat_statements_reset() frompg_read_all_stats role  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Responses Re: Revoke execution permission of pg_stat_statements_reset() from pg_read_all_stats role  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Sep 24, 2018 at 11:08:14AM +1000, Haribabu Kommi wrote:
> In commit 25fff40798 the execute permission of pg_stat_statements_reset()
> is provided to pg_read_all_stats role in [1].
>
> The execute permissions grant to pg_read_all_stats concern is raised in [2]
> during the discussion of supporting different methods of reset the stats,
> instead of resetting all.
>
> Here I attached the patch that reverts the permission grant as per the
> discussion
> in [3].

This should be back-patched.  Any opinions about bumping up this
extension version in back-branches like what has been done in 53b79ab4?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: New function pg_stat_statements_reset_query() to resetstatistics of a specific query
Next
From: Alvaro Herrera
Date:
Subject: Re: Multiple primary key on partition table?