Re: SQL for CREATE ROLE xxx SUPERUSER

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: SQL for CREATE ROLE xxx SUPERUSER
Дата
Msg-id 46C4714C.4090701@postgresql.org
обсуждение исходный текст
Ответ на Re: SQL for CREATE ROLE xxx SUPERUSER  (Erwin Brandstetter <brandstetter@falter.at>)
Ответы Re: SQL for CREATE ROLE xxx SUPERUSER  (Erwin Brandstetter <brandstetter@falter.at>)
Список pgadmin-hackers
Erwin Brandstetter wrote:
> Hi Dave!
>
> But is the line needed at all?
> Clearly it works the same way with just "CREATE ROLE tester SUPERUSER".

It's not the same thing - pg_authid.rolsuper is the superuser flag,
pg_authid.rolcatupdate is the catalog update flag. It cannot be set with
CREATE or UPDATE ROLE, and is required for even a superuser to directly
update the catalogs (postgres has it by default though).

Regards, Dave.

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

Предыдущее
От: Erwin Brandstetter
Дата:
Сообщение: Re: SQL for CREATE ROLE xxx SUPERUSER
Следующее
От: Erwin Brandstetter
Дата:
Сообщение: Re: SQL for CREATE ROLE xxx SUPERUSER