Skip site navigation (1) Skip section navigation (2)

Re: BUG #5814: documentation bug

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Cc: Antje Petersen <antje(dot)petersen(at)desy(dot)de>
Subject: Re: BUG #5814: documentation bug
Date: 2011-01-08 03:19:34
Message-ID: AANLkTi=ywS_SuP9H1d=XgVgjx_nX5guqBRyFgS=m0bw7@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-docs
[moving to pgsql-docs]

On Wed, Jan 5, 2011 at 8:04 AM, Antje Petersen <antje(dot)petersen(at)desy(dot)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

Attachment: createuser_defaults.patch
Description: text/x-patch (856 bytes)

In response to

Responses

pgsql-docs by date

Next:From: SteevieDate: 2011-01-08 08:24:15
Subject: Problems with 8.3.12 docs?
Previous:From: Antje PetersenDate: 2011-01-05 13:04:24
Subject: BUG #5814: documentation bug

pgsql-bugs by date

Next:From: melzaiadyDate: 2011-01-08 11:10:17
Subject: Re: BUG #5809: bigserial duplicate value
Previous:From: Sergey WhiteDate: 2011-01-07 18:35:48
Subject: Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group