Fix typo
authorPeter Eisentraut <[email protected]>
Fri, 17 Mar 2023 20:39:44 +0000 (21:39 +0100)
committerPeter Eisentraut <[email protected]>
Fri, 17 Mar 2023 20:40:25 +0000 (21:40 +0100)
Introduced in de4d456b40.

Reported-by: Erik Rijkers <[email protected]>
src/backend/commands/user.c

index 52796e95487771fada3f9d4546e5928ec1f17c35..707114bdd06739b36f77444c923259e52d2d49cc 100644 (file)
@@ -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);