diff options
author | Nathan Bossart <nathan@postgresql.org> | 2023-05-21 20:03:56 -0700 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2023-05-21 20:06:38 -0700 |
commit | 2dcd1578c40153250836df62f625863056c28a81 (patch) | |
tree | f2a3818b3ec20ee30f0e6f504db6a2130bdd1a46 /doc/src | |
parent | de7c3fd34e0fc0a3f77537e1d12efcd01d255534 (diff) | |
download | postgresql-2dcd1578c40153250836df62f625863056c28a81.tar.gz postgresql-2dcd1578c40153250836df62f625863056c28a81.zip |
Rename some createuser options.
This change renames --admin to --with-admin, --role to --member-of,
and --member to --with-member. Many people found the previous
names to be confusing. The --admin and --member options are new in
v16, but --role has been there for a while, so that one has been
kept (but left undocumented) for backward compatibility.
Suggested-by: Peter Eisentraut
Reviewed-by: Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/ZFvVZvQDliIWmOwg%40momjian.us
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/createuser.sgml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/sgml/ref/createuser.sgml b/doc/src/sgml/ref/createuser.sgml index 58ed1116420..ba7ed1f8531 100644 --- a/doc/src/sgml/ref/createuser.sgml +++ b/doc/src/sgml/ref/createuser.sgml @@ -82,10 +82,10 @@ PostgreSQL documentation <varlistentry> <term><option>-a <replaceable class="parameter">role</replaceable></option></term> - <term><option>--admin=<replaceable class="parameter">role</replaceable></option></term> + <term><option>--with-admin=<replaceable class="parameter">role</replaceable></option></term> <listitem> <para> - Indicates an existing role that will be automatically added as a member of the new + Specifies an existing role that will be automatically added as a member of the new role with admin option, giving it the right to grant membership in the new role to others. Multiple existing roles can be specified by writing multiple <option>-a</option> switches. @@ -149,10 +149,10 @@ PostgreSQL documentation <varlistentry> <term><option>-g <replaceable class="parameter">role</replaceable></option></term> - <term><option>--role=<replaceable class="parameter">role</replaceable></option></term> + <term><option>--member-of=<replaceable class="parameter">role</replaceable></option></term> <listitem> <para> - Indicates the new role should be automatically added as a member + Specifies the new role should be automatically added as a member of the specified existing role. Multiple existing roles can be specified by writing multiple <option>-g</option> switches. </para> @@ -222,10 +222,10 @@ PostgreSQL documentation <varlistentry> <term><option>-m <replaceable class="parameter">role</replaceable></option></term> - <term><option>--member=<replaceable class="parameter">role</replaceable></option></term> + <term><option>--with-member=<replaceable class="parameter">role</replaceable></option></term> <listitem> <para> - Indicates the specified existing role should be automatically + Specifies an existing role that will be automatically added as a member of the new role. Multiple existing roles can be specified by writing multiple <option>-m</option> switches. </para> |