Github user cwelton commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/17#discussion_r41831057
--- Diff: src/backend/commands/user.c ---
@@ -554,31 +541,34 @@ CreateRole(CreateRoleStmt *stmt)
if (resqueue)
{
- if (strcmp(resqueue, "none") == 0) {
+ if (strcmp(resqueue, "none") == 0)
+ {
unregisterConnectionInRMWithErrorReport(resourceid);
releaseResourceContextWithErrorReport(resourceid);
ereport(ERROR,
(errcode(ERRCODE_RESERVED_NAME),
- errmsg("resource queue name \"%s\" is
reserved",
+ errmsg("Resource queue name \"%s\" is
reserved",
--- End diff --
I agree with Lirong, the old message conforms to error message guidelines
and is preferable to the replacement.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---