Commit 260d843d authored by Bruce Momjian's avatar Bruce Momjian

Re-order createuser and vacuumedb documentation options, for

consistency.

Gabrielle (Roth)
parent 8d3c4aa6
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.54 2010/02/19 14:36:45 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.55 2010/03/22 14:56:09 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -78,22 +78,12 @@ PostgreSQL documentation ...@@ -78,22 +78,12 @@ PostgreSQL documentation
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-s</></term> <term><option>-c <replaceable class="parameter">number</replaceable></></term>
<term><option>--superuser</></term> <term><option>--connection-limit <replaceable class="parameter">number</replaceable></></term>
<listitem>
<para>
The new user will be a superuser.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-S</></term>
<term><option>--no-superuser</></term>
<listitem> <listitem>
<para> <para>
The new user will not be a superuser. Set a maximum number of connections for the new user.
This is the default. The default is to set no limit.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -120,81 +110,81 @@ PostgreSQL documentation ...@@ -120,81 +110,81 @@ PostgreSQL documentation
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-r</></term> <term><option>-e</></term>
<term><option>--createrole</></term> <term><option>--echo</></term>
<listitem> <listitem>
<para> <para>
The new user will be allowed to create new roles (that is, Echo the commands that <application>createuser</application> generates
this user will have <literal>CREATEROLE</> privilege). and sends to the server.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-R</></term> <term><option>-E</></term>
<term><option>--no-createrole</></term> <term><option>--encrypted</></term>
<listitem> <listitem>
<para> <para>
The new user will not be allowed to create new roles. Encrypts the user's password stored in the database. If not
This is the default. specified, the default password behavior is used.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-l</></term> <term><option>-i</></term>
<term><option>--login</></term> <term><option>--inherit</></term>
<listitem> <listitem>
<para> <para>
The new user will be allowed to log in (that is, the user name The new role will automatically inherit privileges of roles
can be used as the initial session user identifier). it is a member of.
This is the default. This is the default.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-L</></term> <term><option>-I</></term>
<term><option>--no-login</></term> <term><option>--no-inherit</></term>
<listitem> <listitem>
<para> <para>
The new user will not be allowed to log in. The new role will not automatically inherit privileges of roles
(A role without login privilege is still useful as a means of it is a member of.
managing database permissions.)
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-i</></term> <term><option>-l</></term>
<term><option>--inherit</></term> <term><option>--login</></term>
<listitem> <listitem>
<para> <para>
The new role will automatically inherit privileges of roles The new user will be allowed to log in (that is, the user name
it is a member of. can be used as the initial session user identifier).
This is the default. This is the default.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-I</></term> <term><option>-L</></term>
<term><option>--no-inherit</></term> <term><option>--no-login</></term>
<listitem> <listitem>
<para> <para>
The new role will not automatically inherit privileges of roles The new user will not be allowed to log in.
it is a member of. (A role without login privilege is still useful as a means of
managing database permissions.)
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-c <replaceable class="parameter">number</replaceable></></term> <term><option>-N</></term>
<term><option>--connection-limit <replaceable class="parameter">number</replaceable></></term> <term><option>--unencrypted</></term>
<listitem> <listitem>
<para> <para>
Set a maximum number of connections for the new user. Does not encrypt the user's password stored in the database. If
The default is to set no limit. not specified, the default password behavior is used.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -212,34 +202,44 @@ PostgreSQL documentation ...@@ -212,34 +202,44 @@ PostgreSQL documentation
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-E</></term> <term><option>-r</></term>
<term><option>--encrypted</></term> <term><option>--createrole</></term>
<listitem> <listitem>
<para> <para>
Encrypts the user's password stored in the database. If not The new user will be allowed to create new roles (that is,
specified, the default password behavior is used. this user will have <literal>CREATEROLE</> privilege).
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-N</></term> <term><option>-R</></term>
<term><option>--unencrypted</></term> <term><option>--no-createrole</></term>
<listitem> <listitem>
<para> <para>
Does not encrypt the user's password stored in the database. If The new user will not be allowed to create new roles.
not specified, the default password behavior is used. This is the default.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-e</></term> <term><option>-s</></term>
<term><option>--echo</></term> <term><option>--superuser</></term>
<listitem> <listitem>
<para> <para>
Echo the commands that <application>createuser</application> generates The new user will be a superuser.
and sends to the server. </para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-S</></term>
<term><option>--no-superuser</></term>
<listitem>
<para>
The new user will not be a superuser.
This is the default.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.52 2010/02/19 14:36:45 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.53 2010/03/22 14:56:09 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -127,16 +127,6 @@ PostgreSQL documentation ...@@ -127,16 +127,6 @@ PostgreSQL documentation
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><option>-Z</option></term>
<term><option>--analyze-only</option></term>
<listitem>
<para>
Only calculate statistics for use by the optimizer (no vacuum).
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><option>-q</></term> <term><option>-q</></term>
<term><option>--quiet</></term> <term><option>--quiet</></term>
...@@ -195,6 +185,16 @@ PostgreSQL documentation ...@@ -195,6 +185,16 @@ PostgreSQL documentation
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><option>-Z</option></term>
<term><option>--analyze-only</option></term>
<listitem>
<para>
Only calculate statistics for use by the optimizer (no vacuum).
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><option>-?</></term> <term><option>-?</></term>
<term><option>--help</></term> <term><option>--help</></term>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment