postgres.git / summary / log / commit / refs
commit cc1392d4aa5206d6b4dcc1b036f7a001bcac4197
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Fri Mar 17 20:39:44 2023 +0000
First released in: 16.0
Fix typo
Introduced in de4d456b40.
Reported-by: Erik Rijkers <er@xs4all.nl>
src/backend/commands/user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c
index 52796e95487..707114bdd06 100644
--- a/src/backend/commands/user.c
+++ b/src/backend/commands/user.c
@@ -1043,7 +1043,7 @@ AlterRoleSet(AlterRoleSetStmt *stmt)
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
errmsg("permission denied to alter role"),
errdetail("Only roles with the %s attribute and the %s option on role \"%s\" may alter this role.",
- "CREATROLE", "ADMIN", NameStr(roleform->rolname))));
+ "CREATEROLE", "ADMIN", NameStr(roleform->rolname))));
}
ReleaseSysCache(roletuple);
[parent: f413941f41d3]