Обсуждение: Re: [BUGS] BUG #5814: documentation bug

Поиск
Список
Период
Сортировка

Re: [BUGS] BUG #5814: documentation bug

От
Josh Kupershmidt
Дата:
[moving to pgsql-docs]

On Wed, Jan 5, 2011 at 8:04 AM, Antje Petersen <antje.petersen@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

Вложения

Re: [BUGS] BUG #5814: documentation bug

От
Robert Haas
Дата:
On Fri, Jan 7, 2011 at 10:19 PM, Josh Kupershmidt <schmiddy@gmail.com> wrote:
> [moving to pgsql-docs]
>
> On Wed, Jan 5, 2011 at 8:04 AM, Antje Petersen <antje.petersen@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.

Committed to master and REL9_0_STABLE.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company