Re: Understanding Roles & Grant Options

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Understanding Roles & Grant Options
Дата
Msg-id 27099.1293728422@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Understanding Roles & Grant Options  (Carlos Mennens <carlos.mennens@gmail.com>)
Список pgsql-general
Carlos Mennens <carlos.mennens@gmail.com> writes:
> I've been reading the documentation and I'm trying to understand what
> 'GRANT' options make up a 'superuser' in PostgreSQL.

Superuser-ness is not a grantable privilege; it's an attribute of a
role.  See CREATE/ALTER ROLE.

> Obviously 'Carlos' is a superuser but what does that exactly entail
> beyond CREATEDB & CREATEROLE?

A superuser succeeds at any privilege test whatsoever.

            regards, tom lane

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

Предыдущее
От: Carlos Mennens
Дата:
Сообщение: Understanding Roles & Grant Options
Следующее
От: Vincent Veyron
Дата:
Сообщение: Re: Restore problem