Re: [BUGS] BUG #5814: documentation bug
Re: [BUGS] BUG #5814: documentation bug
[moving to pgsql-docs] On Wed, Jan 5, 2011 at 8:04 AM, Antje Petersen 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 <robertmhaas@gmail.com>
Дата:
On Fri, Jan 7, 2011 at 10:19 PM, Josh Kupershmidt wrote: > [moving to pgsql-docs] > > On Wed, Jan 5, 2011 at 8:04 AM, Antje Petersen 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