Re: pg_stat_replication security

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Re: pg_stat_replication security
Дата
Msg-id AANLkTinoQRNWL4X8dhfAvbciejMzL5m0bnJ-knAKguHJ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_stat_replication security  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: pg_stat_replication security  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Mon, Jan 17, 2011 at 19:51, Magnus Hagander <magnus@hagander.net> wrote:
> Here's a patch that limits it to superuser only. We can't easily match
> it to the user of the session given the way the walsender data is
> returned - it doesn't contain the user information. But limiting it to
> superuser only seems perfectly reasonable and in line with the
> encouragement not to use the replication user for login.
>
> Objections?

It hides all fields in pg_stat_wal_senders(). Instead, can we just
revoke usage of the function and view?  Or, do we have some plans
to add fields which normal users can see?

-- 
Itagaki Takahiro


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

Предыдущее
От: Pavel Golub
Дата:
Сообщение: Re: Warning compiling pg_dump (MinGW, Windows XP)
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Warning compiling pg_dump (MinGW, Windows XP)