diff options
author | Nathan Bossart <nathan@postgresql.org> | 2024-01-18 21:39:51 -0600 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2024-01-18 21:39:51 -0600 |
commit | d891dcc065a2b590102ec75121828fed97acf9ba (patch) | |
tree | ae0ab15813154d30b0f37ab725f7bce1cd513a85 /src | |
parent | dd3ca8cbb0141f158545e9ecdd12c89279942e36 (diff) | |
download | postgresql-d891dcc065a2b590102ec75121828fed97acf9ba.tar.gz postgresql-d891dcc065a2b590102ec75121828fed97acf9ba.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c index 7e815897116..7a9c177b21c 100644 --- a/src/backend/commands/user.c +++ b/src/backend/commands/user.c @@ -868,7 +868,7 @@ AlterRole(ParseState *pstate, AlterRoleStmt *stmt) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("permission denied to alter role"), - errdetail("The bootstrap user must have the %s attribute.", + errdetail("The bootstrap superuser must have the %s attribute.", "SUPERUSER"))); new_record[Anum_pg_authid_rolsuper - 1] = BoolGetDatum(should_be_super); |