Introduced in de4d456b40.

Reported-by: Erik Rijkers <er@xs4all.nl>
pull/137/head
Peter Eisentraut 2 years ago
parent f413941f41
commit cc1392d4aa
  1. 2
      src/backend/commands/user.c

@ -1043,7 +1043,7 @@ AlterRoleSet(AlterRoleSetStmt *stmt)
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE), (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
errmsg("permission denied to alter role"), errmsg("permission denied to alter role"),
errdetail("Only roles with the %s attribute and the %s option on role \"%s\" may alter this 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); ReleaseSysCache(roletuple);

Loading…
Cancel
Save