Re: Permission select pg_stat_replication

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Permission select pg_stat_replication
Дата
Msg-id 20150401155302.GP3663@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Permission select pg_stat_replication  (Denish Patel <denish@omniti.com>)
Ответы Re: Permission select pg_stat_replication  (Denish Patel <denish@omniti.com>)
Список pgsql-admin
* Denish Patel (denish@omniti.com) wrote:
> you should be able to use secure_check_postgres method to avoid granting
> SUPER permission on monitoring user.
[...]

Denish,

Please see my reply to Payal.  This doesn't work.  At the very least,
the permissions on the pg_stat_repl() function need to be adjusted to be
only GRANT'd to the monitoring user, otherwise the information is
available to everyone.  If that's the intent, then the view might as
well be granted to PUBLIC.

Recall that, by defualt, EXECUTE on a function is granted to PUBLIC.

Thanks,

    Stephen

Вложения

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

Предыдущее
От: Denish Patel
Дата:
Сообщение: Re: Permission select pg_stat_replication
Следующее
От: Denish Patel
Дата:
Сообщение: Re: Permission select pg_stat_replication