mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
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
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user