]> granicus.if.org Git - postgresql/commit
Clarify documentation about PASSWORD in CREATE/ALTER ROLE
authorMichael Paquier <michael@paquier.xyz>
Fri, 23 Nov 2018 00:10:24 +0000 (09:10 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 23 Nov 2018 00:10:24 +0000 (09:10 +0900)
commitd392e9bdea957964e1fa6a5481e5adb5904d759a
tree7dcac382539a8f7302ba591cdea5533408b84bfa
parenteba2ce17121f198316d050e71d8bd049a43783ba
Clarify documentation about PASSWORD in CREATE/ALTER ROLE

The documentation of CREATE/ALTER ROLE has been missing two things
related to PASSWORD:
- The password value provided needs to be quoted, some places of the
documentation marked the field with quotes, but not others, which led to
confusion.
- PASSWORD NULL was not provided consistently, with ENCRYPTED being not
compatible with it.

Reported-by: Steven Winfield
Author: Michael Paquier
Reviewed-by: David G. Johnston
Discussion: https://postgr.es/m/154282901979.1316.7418475422120496802@wrigleys.postgresql.org
doc/src/sgml/ref/alter_role.sgml
doc/src/sgml/ref/alter_user.sgml
doc/src/sgml/ref/create_role.sgml
doc/src/sgml/ref/create_user.sgml