Re: let's disallow ALTER ROLE bootstrap_superuser NOSUPERUSER

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: let's disallow ALTER ROLE bootstrap_superuser NOSUPERUSER
Дата
Msg-id CA+TgmoaR7TV-2NeMbkLx8LnUru=o6vqawjCMLm6H_CK77A0jkQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: let's disallow ALTER ROLE bootstrap_superuser NOSUPERUSER  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: let's disallow ALTER ROLE bootstrap_superuser NOSUPERUSER  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Jul 21, 2022 at 1:27 PM Nathan Bossart <nathandbossart@gmail.com> wrote:
> Given the current assumptions the code makes about the bootstrap superuser,
> I think it makes sense to disallow removing its superuser attribute (at
> least via ALTER ROLE NOSUPERUSER).  It seems like there is much work to do
> before a no-superuser configuration could be formally supported.  If/when
> such support materializes, it might be possible to remove the restriction
> that Robert is proposing.

Reaction to this patch seems tentatively positive so far, so I have
committed it. Maybe someone will still show up to complain ... but I
think it's a good change, so I hope not.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: making relfilenodes 56 bits
Следующее
От: Tom Lane
Дата:
Сообщение: Re: let's disallow ALTER ROLE bootstrap_superuser NOSUPERUSER