summaryrefslogtreecommitdiff
path: root/src/backend/commands/user.c
diff options
context:
space:
mode:
authorJoe Conway <mail@joeconway.com>2015-07-06 19:17:57 -0700
committerJoe Conway <mail@joeconway.com>2015-07-06 19:17:57 -0700
commit2867f26fecafc6d9930eb751abdd7b80359a6f51 (patch)
tree6a0eb658fd56c7b72c6e47aa6bb225349f04bf32 /src/backend/commands/user.c
parenta830c83c9b71b78c65c5ddd71db2ecd68601ce73 (diff)
Make RLS related error messages more consistent and compliant.
Also updated regression expected output to match. Noted and patch by Daniele Varrazzo.
Diffstat (limited to 'src/backend/commands/user.c')
-rw-r--r--src/backend/commands/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c
index 3b381c58353..5b20994028d 100644
--- a/src/backend/commands/user.c
+++ b/src/backend/commands/user.c
@@ -301,7 +301,7 @@ CreateRole(CreateRoleStmt *stmt)
if (!superuser())
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
- errmsg("must be superuser to change bypassrls attribute.")));
+ errmsg("must be superuser to change bypassrls attribute")));
}
else
{