pg_stat_statements_reset() function execute permissions doc update - Mailing list pgsql-hackers

From Haribabu Kommi
Subject pg_stat_statements_reset() function execute permissions doc update
Date
Msg-id CAJrrPGcim=Q-7ewhuKr1n3mkeELySC-QeVHGZJJYwaaKMSJRkg@mail.gmail.com
Whole thread Raw
List 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

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Comment refers to non existent functionIncreaseRestartDecodingForSlot
Next
From: Haribabu Kommi
Date:
Subject: Re: New function pg_stat_statements_reset_query() to reset statisticsof a specific query