@@ -323,25 +323,25 @@ CreateRole(ParseState *pstate, CreateRoleStmt *stmt)
323323ereport (ERROR ,
324324(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
325325errmsg ("permission denied to create role" ),
326- errdetail ("Only roles with the %s attribute may create roles with%s ." ,
326+ errdetail ("Only roles with the %s attribute may create roles withthe %s attribute ." ,
327327"SUPERUSER" ,"SUPERUSER" )));
328328if (createdb && !have_createdb_privilege ())
329329ereport (ERROR ,
330330(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
331331errmsg ("permission denied to create role" ),
332- errdetail ("Only roles with the %s attribute may create roles with%s ." ,
332+ errdetail ("Only roles with the %s attribute may create roles withthe %s attribute ." ,
333333"CREATEDB" ,"CREATEDB" )));
334334if (isreplication && !has_rolreplication (currentUserId ))
335335ereport (ERROR ,
336336(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
337337errmsg ("permission denied to create role" ),
338- errdetail ("Only roles with the %s attribute may create roles with%s ." ,
338+ errdetail ("Only roles with the %s attribute may create roles withthe %s attribute ." ,
339339"REPLICATION" ,"REPLICATION" )));
340340if (bypassrls && !has_bypassrls_privilege (currentUserId ))
341341ereport (ERROR ,
342342(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
343343errmsg ("permission denied to create role" ),
344- errdetail ("Only roles with the %s attribute may create roles with%s ." ,
344+ errdetail ("Only roles with the %s attribute may create roles withthe %s attribute ." ,
345345"BYPASSRLS" ,"BYPASSRLS" )));
346346}
347347
@@ -758,7 +758,7 @@ AlterRole(ParseState *pstate, AlterRoleStmt *stmt)
758758ereport (ERROR ,
759759(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
760760errmsg ("permission denied to alter role" ),
761- errdetail ("Only roles with the %s attribute may alter roles with%s ." ,
761+ errdetail ("Only roles with the %s attribute may alter roles withthe %s attribute ." ,
762762"SUPERUSER" ,"SUPERUSER" )));
763763if (!superuser ()&& dissuper )
764764ereport (ERROR ,
@@ -1031,7 +1031,7 @@ AlterRoleSet(AlterRoleSetStmt *stmt)
10311031ereport (ERROR ,
10321032(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
10331033errmsg ("permission denied to alter role" ),
1034- errdetail ("Only roles with the %s attribute may alter roles with%s ." ,
1034+ errdetail ("Only roles with the %s attribute may alter roles withthe %s attribute ." ,
10351035"SUPERUSER" ,"SUPERUSER" )));
10361036}
10371037else
@@ -1171,7 +1171,7 @@ DropRole(DropRoleStmt *stmt)
11711171ereport (ERROR ,
11721172(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
11731173errmsg ("permission denied to drop role" ),
1174- errdetail ("Only roles with the %s attribute may drop roles with%s ." ,
1174+ errdetail ("Only roles with the %s attribute may drop roles withthe %s attribute ." ,
11751175"SUPERUSER" ,"SUPERUSER" )));
11761176if (!is_admin_of_role (GetUserId (),roleid ))
11771177ereport (ERROR ,
@@ -1426,7 +1426,7 @@ RenameRole(const char *oldname, const char *newname)
14261426ereport (ERROR ,
14271427(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
14281428errmsg ("permission denied to rename role" ),
1429- errdetail ("Only roles with the %s attribute may rename roles with%s ." ,
1429+ errdetail ("Only roles with the %s attribute may rename roles withthe %s attribute ." ,
14301430"SUPERUSER" ,"SUPERUSER" )));
14311431}
14321432else
@@ -2141,14 +2141,14 @@ check_role_membership_authorization(Oid currentUserId, Oid roleid,
21412141(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
21422142errmsg ("permission denied to grant role \"%s\"" ,
21432143GetUserNameFromId (roleid , false)),
2144- errdetail ("Only roles with the %s attribute may grant roles with%s ." ,
2144+ errdetail ("Only roles with the %s attribute may grant roles withthe %s attribute ." ,
21452145"SUPERUSER" ,"SUPERUSER" )));
21462146else
21472147ereport (ERROR ,
21482148(errcode (ERRCODE_INSUFFICIENT_PRIVILEGE ),
21492149errmsg ("permission denied to revoke role \"%s\"" ,
21502150GetUserNameFromId (roleid , false)),
2151- errdetail ("Only roles with the %s attribute may revoke roles with%s ." ,
2151+ errdetail ("Only roles with the %s attribute may revoke roles withthe %s attribute ." ,
21522152"SUPERUSER" ,"SUPERUSER" )));
21532153}
21542154}