Re: CREATE/ALTER ROLE with NULL password

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "steven(dot)winfield(at)cantabcapital(dot)com" <steven(dot)winfield(at)cantabcapital(dot)com>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: CREATE/ALTER ROLE with NULL password
Date: 2018-11-23 00:13:26
Message-ID: 20181123001326.GA16253@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Thu, Nov 22, 2018 at 09:54:07AM -0700, David G. Johnston wrote:
> On Thursday, November 22, 2018, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>> The docs list the following with the patch as supported grammar:
>> [ ENCRYPTED ] PASSWORD 'password' | PASSWORD NULL
>> And it seems to me that '|' has priority over '[]', so ENCRYPTED does
>> not apply to PASSWORD NULL if phrased this way.
>
> Yes, the syntax block is perfectly clear but we still explain said grammer
> in words and should be precise there as well, IMO. Not a big deal though.

Okay, thanks. I have committed the simplest version.
--
Michael

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2018-11-23 01:19:40 Need for
Previous Message David G. Johnston 2018-11-22 16:54:07 Re: CREATE/ALTER ROLE with NULL password