Re: CREATE/ALTER ROLE with NULL password
David G. Johnston <david.g.johnston@gmail.com>
From: "David G. Johnston" <david.g.johnston@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: "steven.winfield@cantabcapital.com" <steven.winfield@cantabcapital.com>, "pgsql-docs@lists.postgresql.org" <pgsql-docs@lists.postgresql.org>
Date: 2018-11-22T16:54:07Z
Lists: pgsql-docs
On Thursday, November 22, 2018, Michael Paquier <michael@paquier.xyz> wrote: > On Wed, Nov 21, 2018 at 11:58:25PM -0700, David G. Johnston wrote: > > Should tweak the paragraph to point out this exception as well. > > > > The ENCRYPTED keyword has no effect, but is accepted for backwards > > compatibility[, except in the PASSWORD NULL form.] > > 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. David J.
Commits
-
Clarify documentation about PASSWORD in CREATE/ALTER ROLE
- 3dab288f492d 11.2 landed
- d392e9bdea95 12.0 landed