aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/policy.c4
-rw-r--r--src/backend/commands/user.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/policy.c b/src/backend/commands/policy.c
index 8851fe7c9ff..6399b2e3eb7 100644
--- a/src/backend/commands/policy.c
+++ b/src/backend/commands/policy.c
@@ -167,8 +167,8 @@ policy_role_list_to_array(List *roles, int *num_roles)
{
ereport(WARNING,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
- errmsg("ignoring roles specified other than public"),
- errhint("All roles are members of the public role.")));
+ errmsg("ignoring specified roles other than PUBLIC"),
+ errhint("All roles are members of the PUBLIC role.")));
*num_roles = 1;
}
role_oids[0] = ObjectIdGetDatum(ACL_ID_PUBLIC);
diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c
index 295e0b0fdf3..2961ccb8ef3 100644
--- a/src/backend/commands/user.c
+++ b/src/backend/commands/user.c
@@ -959,7 +959,7 @@ DropRole(DropRoleStmt *stmt)
if (rolspec->roletype != ROLESPEC_CSTRING)
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
- errmsg("cannot use special role specifier in \"%s\"", "DROP ROLE")));
+ errmsg("cannot use special role specifier in DROP ROLE")));
role = rolspec->rolename;
tuple = SearchSysCache1(AUTHNAME, PointerGetDatum(role));