diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2015-12-10 22:05:27 -0500 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2015-12-10 22:05:27 -0500 |
commit | a351705d8a7fbbc98c2449786d2ddfa845f21b6a (patch) | |
tree | 33066a7b56e203adc9bd062cc1c340db893fa177 /src/backend/commands | |
parent | 8b469bd7c4dc3649c74b746545210b435df319cb (diff) | |
download | postgresql-a351705d8a7fbbc98c2449786d2ddfa845f21b6a.tar.gz postgresql-a351705d8a7fbbc98c2449786d2ddfa845f21b6a.zip |
Improve some messages
Diffstat (limited to 'src/backend/commands')
-rw-r--r-- | src/backend/commands/policy.c | 4 | ||||
-rw-r--r-- | src/backend/commands/user.c | 2 |
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)); |