| From: | Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com> |
|---|---|
| To: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | pg_stat_statements_reset() function execute permissions doc update |
| Date: | 2018-07-02 05:15:15 |
| Message-ID: | CAJrrPGcim=Q-7ewhuKr1n3mkeELySC-QeVHGZJJYwaaKMSJRkg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
The pg_stat_statements_reset() function can be executed by super and
members of the role pg_read_all_stats, but document doesn't say that.
This is found during the code review of another patch in [1].
Patch attached. This needs a backpatch till 10 where the default roles are
added.
Regards,
Haribabu Kommi
Fujitsu Australia
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-pg_stat_statements_reset-function-execution-permissi.patch | application/octet-stream | 1.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Haribabu Kommi | 2018-07-02 05:20:54 | Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query |
| Previous Message | Michael Paquier | 2018-07-02 04:32:45 | Re: Comment refers to non existent function IncreaseRestartDecodingForSlot |