1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-30 06:01:21 +03:00

Add a new option, -g, to createuser, to add membership in a role.

Chistopher Browne, reviewed by Sameer Thakur, Amit Kapila, and
Peter Eisentraut.
This commit is contained in:
Robert Haas
2013-12-11 07:50:36 -05:00
parent a06af43695
commit 6bea96dd49
2 changed files with 33 additions and 1 deletions

View File

@@ -130,6 +130,19 @@ PostgreSQL documentation
</listitem>
</varlistentry>
<varlistentry>
<term><option>-g <replaceable class="parameter">role</replaceable></></term>
<term><option>--role=<replaceable class="parameter">role</replaceable></></term>
<listitem>
<para>
Indicates 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</> switches.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-i</></term>
<term><option>--inherit</></term>