Proposal: Allow user with pg_monitor role to call pg_stat_reset* functions

Поиск
Список
Период
Сортировка
От sirisha chamarthi
Тема Proposal: Allow user with pg_monitor role to call pg_stat_reset* functions
Дата
Msg-id CAKrAKeXRmqi65dA0HoiLfteFBE8pjqQKPkt50cyY0ihJ8Vg7nw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Proposal: Allow user with pg_monitor role to call pg_stat_reset* functions
Список pgsql-hackers
Hi Hackers,

At present, calling pg_stat_reset* functions requires super user access unless explicitly grant execute permission on those. In this thread, I am proposing to grant execute on them to users with pg_monitor role permissions. This comes handy to the monitoring users (part of pg_monitor role) to capture the stats fresh and analyze. Do you see any concerns with this approach?

Thanks,
Sirisha

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [PoC] Improve dead tuple storage for lazy vacuum
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Reducing power consumption on idle servers