[moving to pgsql-docs]

On Wed, Jan 5, 2011 at 8:04 AM, Antje Petersen <antje.peter...@desy.de> wrote:
> According to the documentation
> createuser --no-superuser and
> createuser --no-createrole is the default.
> This is not true. The default is to be asked
> Shall the new role be a superuser? (y/n)
> Shall the new role be allowed to create more new roles? (y/n)

I agree that the incorrect claims about defaults for --superuser,
--createrole, and --createdb should be gotten rid of, since there are
no defaults for these options and createuser will force you to answer
Y or N for these options if you didn't specify on the command line.

Simple doc patch attached. I think the "Examples" section demonstrates
that createuser will prompt for this information without having to
belabor this point in the doc.

Josh
diff --git a/doc/src/sgml/ref/createuser.sgml b/doc/src/sgml/ref/createuser.sgml
index 08c82e0..fbc184f 100644
--- a/doc/src/sgml/ref/createuser.sgml
+++ b/doc/src/sgml/ref/createuser.sgml
@@ -103,7 +103,6 @@ PostgreSQL documentation
       <listitem>
        <para>
         The new user will not be allowed to create databases.
-        This is the default.
        </para>
       </listitem>
      </varlistentry>
@@ -217,7 +216,6 @@ PostgreSQL documentation
       <listitem>
        <para>
         The new user will not be allowed to create new roles.
-        This is the default.
        </para>
       </listitem>
      </varlistentry>
@@ -238,7 +236,6 @@ PostgreSQL documentation
       <listitem>
        <para>
         The new user will not be a superuser.
-        This is the default.
        </para>
       </listitem>
      </varlistentry>
-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to