Re: why restrict role "public" but not "Public"?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why restrict role "public" but not "Public"?
Дата
Msg-id 7096.1282691054@sss.pgh.pa.us
обсуждение исходный текст
Ответ на why restrict role "public" but not "Public"?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: why restrict role "public" but not "Public"?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I just noticed that we restrict creation of a role named "public", but
> this is case-sensitive -- i.e. we don't restrict roles named PUBLIC,
> etc.

> Is this intended?

Yes.  If you had a role named that, you might think thatGRANT whatever TO PUBLIC
should refer to that role.
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: why restrict role "public" but not "Public"?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: why restrict role "public" but not "Public"?