From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Cc: | Joe Conway <mail(at)joeconway(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: CREATE/ALTER ROLE PASSWORD ('value' USING 'method') |
Date: | 2017-03-16 17:30:23 |
Message-ID: | CAMkU=1wpHpaJsMi2s-P0YNrU5WjpjDXtdk7Tw2zB8uJdtCTCQg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Mar 9, 2017 at 4:59 AM, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
wrote:
> On Thu, Mar 9, 2017 at 1:17 AM, Joe Conway <mail(at)joeconway(dot)com> wrote:
> > On 03/07/2017 08:29 PM, Tom Lane wrote:
> >> Michael Paquier <michael(dot)paquier(at)gmail(dot)com> writes:
> >>> here is a separate thread dedicated to the following extension for
> >>> CREATE/ALTER ROLE: PASSWORD ('value' USING 'method').
> >>
> >> The parentheses seem weird ... do we really need those?
> >
> > +1
>
> Seeing 3 opinions in favor of that, let's do so then. I have updated
> the patch to not use parenthesis.
>
The regression tests only exercise the CREATE ROLE...USING version, not the
ALTER ROLE...USING version.
+ and <literal>plain</> for an non-hashed password. If the password
+ string is already in MD5-hashed or SCRAM-hashed, then it is
+ stored hashed as-is.
In the last line, I think "stored as-is" sounds better.
Other than that, it looks good to me.
Cheers,
Jeff
From | Date | Subject | |
---|---|---|---|
Next Message | David Steele | 2017-03-16 17:35:02 | Re: LWLock optimization for multicore Power machines |
Previous Message | David Steele | 2017-03-16 17:25:53 | Re: [POC] A better way to expand hash indexes. |