summaryrefslogtreecommitdiff
path: root/src/bin/initdb/initdb.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2016-05-08 12:58:21 -0400
committerStephen Frost <sfrost@snowman.net>2016-05-08 12:58:21 -0400
commit6f69b96390eddf9c6129840eac511fd4159f01bb (patch)
tree8b44ebcf7ffa2ab6226918e236b04319b35af042 /src/bin/initdb/initdb.c
parent7df974ee0bfd8978830b941e7af5697fd4268656 (diff)
Wording quibbles regarding initdb username
Use disallowed instead of reserved, cannot instead of can not, and double quotes instead of single quotes. Also add a test to cover the bug which started this discussion. Per discussion with Tom.
Diffstat (limited to 'src/bin/initdb/initdb.c')
-rw-r--r--src/bin/initdb/initdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index 7dedd8adc63..ec8c38ed5a4 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -3564,7 +3564,7 @@ main(int argc, char *argv[])
if (strncmp(username, "pg_", 3) == 0)
{
- fprintf(stderr, _("%s: superuser name \"%s\" is reserved; role names can not begin with 'pg_'\n"), progname, username);
+ fprintf(stderr, _("%s: superuser name \"%s\" is disallowed; role names cannot begin with \"pg_\"\n"), progname, username);
exit(1);
}