Re: Role incompatibilities

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Role incompatibilities
Дата
Msg-id 9234.1143233799@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Role incompatibilities  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> Eh, it does and it doesn't.  The SQL standard says that no roles are
> automatically inheirited and that you have to 'set role' to them.  Thus,
> all non-user roles which are granted to users in Postgres would need to
> be defined 'noinherit' to have things work as the spec wants.

We note in the CREATE ROLE docs:
The behavior specified by the SQL standard is most closely approximatedby giving users the NOINHERIT attribute, while
rolesare given theINHERIT attribute.
 

For the purposes of the information_schema, it might work best to
consider NOINHERIT (rather than LOGIN) as being what identifies a user
rather than a role.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Domains as Subtypes
Следующее
От: "Guy Flaherty"
Дата:
Сообщение: A big thank you to all!