Re: BUG #5814: documentation bug

From: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Antje Petersen <antje(dot)petersen(at)desy(dot)de>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5814: documentation bug
Date: 2011-03-11 14:56:21
Message-ID: 4D7A3815.5020605@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-docs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bruce Momjian wrote:

> Well, what do you suggest? I see no other way to specify the default
> for pressing <ENTER>. I know I just press <ENTER> at those prompts.
>

[root(at)tushar bin]# ./createuser -p 5438
Enter name of role to add: test
Shall the new role be a superuser? (y/n)
Please answer "y" or "n".
Shall the new role be a superuser? (y/n)

even if i just <<enter>> it is still asking me to enter 'y' or 'n'

i m using pg9.0 beta3

[root(at)tushar bin]# ./psql postgres -U postgres -p 5438
Password for user postgres:
psql (9.0beta3)
Type "help" for help.

postgres=#

i think it should show like this :-(if n is the default)

[root(at)tushar bin]# ./createuser -p 5438
Enter name of role to add: test
Shall the new role be a superuser? (y/N)
Shall the new role be allowed to create more new roles? (y/N)

but don't know how it is behaving in PG 8.1 (as this issue reported against that version)

- --
regards,tushar
Lead QA Engineer
EnterpriseDB Corporation
The Enterprise PostgreSQL Company

Mobile: +91-99227433-47

This e-mail message (and any attachment) is intended for the use of
the individual or entity to whom it is addressed. This message
contains information from EnterpriseDB Corporation that may be
privileged, confidential, or exempt from disclosure under applicable
law. If you are not the intended recipient or authorized to receive
this for the intended recipient, any use, dissemination, distribution,
retention, archiving, or copying of this communication is strictly
prohibited. If you have received this e-mail in error, please notify
the sender immediately by reply e-mail and delete this message

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFNejgVfQNodY2PIRoRAtXVAJ9xa6OKelV5dqmwW+bBTSFwhtxsNACgjtjx
F0MwcsLqhrC8gD+GOQNgpgs=
=loHA
-----END PGP SIGNATURE-----

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2011-03-11 15:04:31 Re: BUG #5925: Files corrupted
Previous Message Alvaro Herrera 2011-03-11 14:56:18 Re: BUG #5814: documentation bug

Browse pgsql-docs by date

  From Date Subject
Next Message Alvaro Herrera 2011-03-11 15:00:09 Re: "Backend server" term usage
Previous Message Alvaro Herrera 2011-03-11 14:56:18 Re: BUG #5814: documentation bug