Re: CREATE/ALTER ROLE with NULL password
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: "steven.winfield@cantabcapital.com" <steven.winfield@cantabcapital.com>, "pgsql-docs@lists.postgresql.org" <pgsql-docs@lists.postgresql.org>
Date: 2018-11-23T00:13:26Z
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@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
Commits
-
Clarify documentation about PASSWORD in CREATE/ALTER ROLE
- 3dab288f492d 11.2 landed
- d392e9bdea95 12.0 landed