Re: Re: "pg_xxx" role name restriction not applied to bootstrap superuser?

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Re: "pg_xxx" role name restriction not applied to bootstrap superuser?
Дата
Msg-id 20160508123712.GX10850@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Re: "pg_xxx" role name restriction not applied to bootstrap superuser?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: "pg_xxx" role name restriction not applied to bootstrap superuser?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Stephen Frost <sfrost@snowman.net> writes:
> > * Tom Lane (tgl@sss.pgh.pa.us) wrote:
> >> ... but I'm left with a policy question: should initdb disallow
> >> bootstrap superuser names like "pg_xxx"?
>
> > On the whole, I'd vote to treat the bootstrap user as a normal role and
> > therefore have the same restriction in place for that user also.
>
> If we're going to enforce such a restriction, I think it would be
> a good thing for it to be in place in beta1.

Makes sense.

Patch attached.  I'll push this in a bit, barring objections.

Thanks!

Stephen

Вложения

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: minor message improvement
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Disable BLOB test in pg_dump TAP tests