Re: restrict pg_stat_ssl to superuser?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: restrict pg_stat_ssl to superuser?
Дата
Msg-id CA+TgmoZBAYK8DH6bgY24-ZuqnbqcOwQR95YK2kWUqhEAEQ1cEQ@mail.gmail.com
обсуждение исходный текст
Ответ на restrict pg_stat_ssl to superuser?  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Thu, Feb 7, 2019 at 3:30 AM Peter Eisentraut
<peter.eisentraut@2ndquadrant.com> wrote:
> As discussed in [0], should we restrict access to pg_stat_ssl to
> superusers (and an appropriate pg_ role)?
>
> If so, is there anything in that view that should be made available to
> non-superusers?  If not, then we could perhaps do this via a simple
> permission change instead of going the route of blanking out individual
> columns.

Shouldn't unprivileged users be able to see their own entries, or
entries for roles which they could assume via SET ROLE?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Delay locking partitions during INSERT and UPDATE
Следующее
От: David Fetter
Дата:
Сообщение: Re: CPU costs of random_zipfian in pgbench