Re: BUG #5475: Problem during Instalation - Mailing list pgsql-bugs

From Robert Haas
Subject Re: BUG #5475: Problem during Instalation
Date
Msg-id AANLkTil18fv9jPkcvUL6EKYaVAXuB-j6gvMCvMmKOJbn@mail.gmail.com
Whole thread Raw
In response to BUG #5475: Problem during Instalation  ("Joel Henrique" <joel@cefet-al.br>)
Responses Re: BUG #5475: Problem during Instalation  (Dave Page <dpage@pgadmin.org>)
List pgsql-bugs
On Wed, Jun 9, 2010 at 10:52 AM, Dave Page <dpage@pgadmin.org> wrote:
> On Wed, Jun 9, 2010 at 3:50 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>> On Wed, Jun 9, 2010 at 6:09 AM, Dave Page <dpage@pgadmin.org> wrote:
>>> Please provide a password for the database superuser (${superaccount})
>>> and service account (${serviceaccount}). If the service account
>>> already exists in Windows, you must enter the current password for the
>>> account. If the account does not exist, it will be created when you
>>> click 'Next'.
>>
>> I think that's REALLY confusing. =A0It seems to me that asking for a
>> password which might be used either to log into an existing account or
>> to set the password for an account that's about to be created is not
>> very user-friendly at all. =A0And we get questions about it here
>> regularly. =A0Why not:
>>
>> If (account exists)
>> =A0prompt user to log into account
>> else
>> =A0tell user account will be created, ask for account pw
>> prompt user for db superuser pw
>
> Because without additional text, the user still doesn't know that
> they're also setting the superuser password for the cluster.

I'm suggesting that you prompt for that separately, as shown in the
above pseudocode.  It seems to me that conflating the postgres user
account password with the database superuser password is confusing...
IJWH, of course.

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: Bad optimizer data for xml (WAS: xml data type implications of no =)
Next
From: Dave Page
Date:
Subject: Re: BUG #5475: Problem during Instalation