mirror of
https://github.com/postgres/postgres.git
synced 2025-12-22 17:42:17 +03:00
Improve some documentation about the bootstrap superuser.
This commit adds some notes about the inability to remove superuser
privileges from the bootstrap superuser. This has been blocked
since commit e530be2c5c, but it wasn't intended be a supported
feature before that, either.
In passing, change "bootstrap user" to "bootstrap superuser" in a
couple places.
Author: Yurii Rashkovskii
Reviewed-by: Vignesh C, David G. Johnston
Discussion: https://postgr.es/m/CA%2BRLCQzSx_eTC2Fch0EzeNHD3zFUcPvBYOoB%2BpPScFLch1DEQw%40mail.gmail.com
This commit is contained in:
@@ -69,7 +69,9 @@ ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | A
|
||||
<link linkend="sql-grant"><command>GRANT</command></link> and
|
||||
<link linkend="sql-revoke"><command>REVOKE</command></link> for that.)
|
||||
Attributes not mentioned in the command retain their previous settings.
|
||||
Database superusers can change any of these settings for any role.
|
||||
Database superusers can change any of these settings for any role, except
|
||||
for changing the <literal>SUPERUSER</literal> property for the
|
||||
<glossterm linkend="glossary-bootstrap-superuser">bootstrap superuser</glossterm>.
|
||||
Non-superuser roles having <literal>CREATEROLE</literal> privilege can
|
||||
change most of these properties, but only for non-superuser and
|
||||
non-replication roles for which they have been granted
|
||||
|
||||
Reference in New Issue
Block a user