From: | Sachin Srivastava <sachin(dot)srivastava(at)enterprisedb(dot)com> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, ashesh(dot)vashi(at)enterprisedb(dot)com, dharmendra(dot)goyal(at)enterprisedb(dot)com, pgsql-hackers(at)postgresql(dot)org, craig(at)postnewspapers(dot)com(dot)au |
Subject: | Re: Minimising windows installer password confusion |
Date: | 2012-06-12 17:19:21 |
Message-ID: | CA+RD+kg+q5YM=DeLCwxwabyQaNU8O4mgm5N__2yjxn56f-CqeA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Jun 12, 2012 at 7:43 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> On Tue, Jun 12, 2012 at 2:57 PM, Robert Haas <robertmhaas(at)gmail(dot)com>
> wrote:
> > On Tue, Jun 12, 2012 at 8:53 AM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> >>> Oh, I certainly wouldn't do it without *informing* and verifying it
> >>> with the user.
> >>
> >> That'll add additional steps for all users, and likely confuse the
> >> novices even more.
> >
> > The real issue here is that it's nuts to tell the user "please enter
> > either a new password or the password for the account that already
> > exists, but I'm not telling you which one".
>
> That's a good point.
>
> > What we need is to display a different dialogue based on the situation.
> >
> > If the account already exists, we should say "Please enter the
> > password for the existing postgres account. If you do not know the
> > password, you can reset it using the Windows control panel."
> >
> > But if it doesn't already exist, we should say "The installer will
> > create a postgres account on this machine. Please enter a password
> > for the new account."
> >
> > If we can do that, all of these problems will go away.
>
> Yeah - that'll require some additional code to check if the account
> exists, but we can probably copy/paste that from the existing utility
> that creates the account (or better yet, refactor it to allow us to
> check or check & create as it does now).
>
> Ashesh/Sachin/Dharam - do you see any potential issues with that?
>
Nope.. We do have the code to check whether the user exists or not..
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
--
Regards,
Sachin Srivastava
EnterpriseDB, India
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2012-06-12 17:31:05 | Re: 9.3: load path to mitigate load penalty for checksums |
Previous Message | Robert Haas | 2012-06-12 17:10:08 | Re: 9.3: load path to mitigate load penalty for checksums |