summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2013-12-11 07:50:36 -0500
committerRobert Haas <rhaas@postgresql.org>2013-12-11 07:50:36 -0500
commit6bea96dd49619122bdb3fe9ddfd559a82b26ff73 (patch)
tree44c2d1c2f992b95b821bc5616d7c20c8f5bd9008 /doc
parenta06af43695cd51184dacc260aa394685991fe15f (diff)
downloadpostgresql-6bea96dd49619122bdb3fe9ddfd559a82b26ff73.tar.gz
Add a new option, -g, to createuser, to add membership in a role.
Chistopher Browne, reviewed by Sameer Thakur, Amit Kapila, and Peter Eisentraut.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/ref/createuser.sgml13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/createuser.sgml b/doc/src/sgml/ref/createuser.sgml
index 2f1ea2fb73..63d4c6c4a8 100644
--- a/doc/src/sgml/ref/createuser.sgml
+++ b/doc/src/sgml/ref/createuser.sgml
@@ -131,6 +131,19 @@ PostgreSQL documentation
</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>
<listitem>