From 7df9f55f4b43f7d4e588a2792ca8609186d59d2f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 30 Sep 2005 07:13:54 +0000 Subject: [PATCH] Change the option spelling to --connection-limit to be consistent with the SQL option spelling. --- doc/src/sgml/ref/createuser.sgml | 4 ++-- src/bin/scripts/createuser.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/ref/createuser.sgml b/doc/src/sgml/ref/createuser.sgml index 3656349f5e..3f3b2c8cdc 100644 --- a/doc/src/sgml/ref/createuser.sgml +++ b/doc/src/sgml/ref/createuser.sgml @@ -1,5 +1,5 @@ @@ -186,7 +186,7 @@ PostgreSQL documentation - + Set a maximum number of connections for the new user. diff --git a/src/bin/scripts/createuser.c b/src/bin/scripts/createuser.c index eba4d1be52..46bcfc42e3 100644 --- a/src/bin/scripts/createuser.c +++ b/src/bin/scripts/createuser.c @@ -5,7 +5,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.18 2005/08/14 20:16:03 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.19 2005/09/30 07:13:54 petere Exp $ * *------------------------------------------------------------------------- */ @@ -41,7 +41,7 @@ main(int argc, char *argv[]) /* adduser is obsolete, undocumented spelling of superuser */ {"adduser", no_argument, NULL, 'a'}, {"no-adduser", no_argument, NULL, 'A'}, - {"conn-limit", required_argument, NULL, 'c'}, + {"connection-limit", required_argument, NULL, 'c'}, {"pwprompt", no_argument, NULL, 'P'}, {"encrypted", no_argument, NULL, 'E'}, {"unencrypted", no_argument, NULL, 'N'}, @@ -315,7 +315,7 @@ help(const char *progname) printf(_(" -i, --inherit role inherits permissions of roles\n")); printf(_(" it is a member of (default)\n")); printf(_(" -I, --no-inherit role does not inherit permissions\n")); - printf(_(" -c, --conn-limit=N max connections for role (default: no limit)\n")); + printf(_(" -c, --connection-limit=N connection limit for role (default: no limit)\n")); printf(_(" -P, --pwprompt assign a password to new role\n")); printf(_(" -E, --encrypted encrypt stored password\n")); printf(_(" -N, --unencrypted do not encrypt stored password\n")); -- 2.40.0