Re: Streaming replication as a separate permissions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Streaming replication as a separate permissions
Дата
Msg-id 20326.1294071638@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Streaming replication as a separate permissions  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Streaming replication as a separate permissions  (Robert Haas <robertmhaas@gmail.com>)
Re: Streaming replication as a separate permissions  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On the other hand, the REPLICATION privilege is denying you the right to
> perform an operation *even though you already are authenticated as a
> superuser*.  I don't think there's anywhere else in the system where
> we allow a privilege to non-super-users but deny that same privilege
> to super-users, and I don't think we should be starting now.

You might want to reflect on rolcatupdate a bit before asserting that
there are no cases where privileges are ever denied to superusers.

However, that precedent would suggest that the default should be to
grant the replication bit to superusers.
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Scanning pg_tablespace from walsender
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Re: new patch of MERGE (merge_204) & a question about duplicated ctid