mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
doc: improve description of adding roles as members
Discussion: https://postgr.es/m/ZFvVZvQDliIWmOwg@momjian.us
This commit is contained in:
@@ -85,11 +85,10 @@ PostgreSQL documentation
|
||||
<term><option>--admin=<replaceable class="parameter">role</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Indicates a role that will be immediately added as a member of the new
|
||||
Indicates 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 roles to add as members (with admin
|
||||
option) of the new role can be specified by writing multiple
|
||||
<option>-a</option> switches.
|
||||
new role to others. Multiple existing roles can be specified by
|
||||
writing multiple <option>-a</option> switches.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -153,11 +152,10 @@ PostgreSQL documentation
|
||||
<term><option>--role=<replaceable class="parameter">role</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Indicates a role to which this role will be added immediately as a new
|
||||
member. Multiple roles to which this role will be added as a member
|
||||
can be specified by writing multiple
|
||||
<option>-g</option> switches.
|
||||
</para>
|
||||
Indicates 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>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -227,9 +225,9 @@ PostgreSQL documentation
|
||||
<term><option>--member=<replaceable class="parameter">role</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Indicates role that will be immediately added as a member of the new
|
||||
role. Multiple roles to add as members of the new role can be specified
|
||||
by writing multiple <option>-m</option> switches.
|
||||
Indicates the specified existing role should be automatically
|
||||
added as a member of the new role. Multiple existing roles can
|
||||
be specified by writing multiple <option>-m</option> switches.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
Reference in New Issue
Block a user