Re: docs: mention "pg_read_all_stats" in "track_activities" description

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: docs: mention "pg_read_all_stats" in "track_activities" description
Дата
Msg-id Yo2qtFNyJUe1rgF5@paquier.xyz
обсуждение исходный текст
Ответ на Re: docs: mention "pg_read_all_stats" in "track_activities" description  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: docs: mention "pg_read_all_stats" in "track_activities" description  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Mon, May 23, 2022 at 09:41:42AM -0700, Nathan Bossart wrote:
> I think we need to be careful about saying "member of" when we really mean
> "roles with privileges of."  Unless I am mistaken, role membership alone is
> not sufficient for viewing this information.  You also need to inherit the
> role's privileges via INHERIT.

Good point.  So this would give, to be exact:
"This information is only visible to superusers, roles with privileges
of the pg_read_all_stats role, and and the user owning the sessionS
being reported on (including sessions belonging to a role they have
the privileges of)."

Opinions?
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Tab-complete for CREATE EVENT TRIGGER ON TABLE_REWRITE
Следующее
От: Amit Langote
Дата:
Сообщение: Re: First draft of the PG 15 release notes