Re: pg_stat_replication security

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: pg_stat_replication security
Дата
Msg-id 4D335A6C.2020507@agliodbs.com
обсуждение исходный текст
Ответ на pg_stat_replication security  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: pg_stat_replication security  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
> I suggest pg_stat_replication do just like pg_stat_activity, which is
> return NULL in most fields if the user isn't
> (superuser||same_user_as_that_session).

What session would that be, exactly?

I suggest instead either "superuser" or "replication" permissions.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: We need to log aborted autovacuums
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: walreceiver fallback_application_name