Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 963F213364DE for ; Fri, 11 Mar 2011 10:58:19 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 22289-04 for ; Fri, 11 Mar 2011 14:58:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og119.obsmtp.com (exprod7og119.obsmtp.com [64.18.2.16]) by mail.postgresql.org (Postfix) with ESMTP id E2E04133616B for ; Fri, 11 Mar 2011 10:58:10 -0400 (AST) Received: from source ([209.85.214.41]) (using TLSv1) by exprod7ob119.postini.com ([64.18.6.12]) with SMTP ID DSNKTXo4gjqqXLh4cBaxWWA6b/cVlVKWsWxk@postini.com; Fri, 11 Mar 2011 06:58:12 PST Received: by mail-bw0-f41.google.com with SMTP id 17so3164884bwz.0 for ; Fri, 11 Mar 2011 06:58:10 -0800 (PST) Received: by 10.204.126.152 with SMTP id c24mr76688bks.4.1299855489679; Fri, 11 Mar 2011 06:58:09 -0800 (PST) Received: from [172.24.35.224] ([220.225.109.93]) by mx.google.com with ESMTPS id l3sm2675528fan.2.2011.03.11.06.58.06 (version=SSLv3 cipher=OTHER); Fri, 11 Mar 2011 06:58:08 -0800 (PST) Message-ID: <4D7A3815.5020605@enterprisedb.com> Date: Fri, 11 Mar 2011 20:26:21 +0530 From: tushar User-Agent: Thunderbird 2.0.0.19 (X11/20090107) MIME-Version: 1.0 To: Bruce Momjian CC: Robert Haas , Antje Petersen , pgsql-bugs@postgresql.org Subject: Re: BUG #5814: documentation bug References: <201103111444.p2BEiqj02720@momjian.us> In-Reply-To: <201103111444.p2BEiqj02720@momjian.us> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.2 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3 X-Spam-Level: X-Archive-Number: 201103/197 X-Sequence-Number: 29707 -----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 . I know I just press at those prompts. > [root@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 <> it is still asking me to enter 'y' or 'n' i m using pg9.0 beta3 [root@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@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-----