Re: CREATE/ALTER ROLE with NULL password - Mailing list pgsql-docs

From Michael Paquier
Subject Re: CREATE/ALTER ROLE with NULL password
Date
Msg-id 20181123001326.GA16253@paquier.xyz
Whole thread Raw
In response to Re: CREATE/ALTER ROLE with NULL password  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-docs
On Thu, Nov 22, 2018 at 09:54:07AM -0700, David G. Johnston wrote:
> On Thursday, November 22, 2018, Michael Paquier <michael@paquier.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

Attachment

pgsql-docs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: CREATE/ALTER ROLE with NULL password
Next
From: PG Doc comments form
Date:
Subject: Need for