Skip to content

Commit 7df9f55

Browse files
committed
Change the option spelling to --connection-limit to be consistent with the
SQL option spelling.
1 parent a7084ef commit 7df9f55

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/src/sgml/ref/createuser.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.42 2005/08/14 20:16:02 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.43 2005/09/30 07:13:53 petere Exp $
33
PostgreSQL documentation
44
-->
55

@@ -186,7 +186,7 @@ PostgreSQL documentation
186186

187187
<varlistentry>
188188
<term><option>-c <replaceable class="parameter">number</replaceable></></term>
189-
<term><option>--conn-limit <replaceable class="parameter">number</replaceable></></term>
189+
<term><option>--connection-limit <replaceable class="parameter">number</replaceable></></term>
190190
<listitem>
191191
<para>
192192
Set a maximum number of connections for the new user.

src/bin/scripts/createuser.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
8-
* $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.18 2005/08/14 20:16:03 tgl Exp $
8+
* $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.19 2005/09/30 07:13:54 petere Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -41,7 +41,7 @@ main(int argc, char *argv[])
4141
/* adduser is obsolete, undocumented spelling of superuser */
4242
{"adduser", no_argument, NULL, 'a'},
4343
{"no-adduser", no_argument, NULL, 'A'},
44-
{"conn-limit", required_argument, NULL, 'c'},
44+
{"connection-limit", required_argument, NULL, 'c'},
4545
{"pwprompt", no_argument, NULL, 'P'},
4646
{"encrypted", no_argument, NULL, 'E'},
4747
{"unencrypted", no_argument, NULL, 'N'},
@@ -315,7 +315,7 @@ help(const char *progname)
315315
printf(_(" -i, --inherit role inherits permissions of roles\n"));
316316
printf(_(" it is a member of (default)\n"));
317317
printf(_(" -I, --no-inherit role does not inherit permissions\n"));
318-
printf(_(" -c, --conn-limit=N max connections for role (default: no limit)\n"));
318+
printf(_(" -c, --connection-limit=N connection limit for role (default: no limit)\n"));
319319
printf(_(" -P, --pwprompt assign a password to new role\n"));
320320
printf(_(" -E, --encrypted encrypt stored password\n"));
321321
printf(_(" -N, --unencrypted do not encrypt stored password\n"));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy