]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve documentation of the CREATEROLE attibute.
authorRobert Haas <rhaas@postgresql.org>
Tue, 3 Jan 2023 19:50:40 +0000 (14:50 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 3 Jan 2023 20:03:03 +0000 (15:03 -0500)
commit5dac191edf1816860993e5f43b817eafcece1166
tree8425f233e896c7f516f78c7830bf8937d806cd19
parent1c89549ca48d04195bfc774534a54cf84b797e8b
Improve documentation of the CREATEROLE attibute.

In user-manag.sgml, document precisely what privileges are conveyed
by CREATEROLE. Make particular note of the fact that it allows
changing passwords and granting access to high-privilege roles.
Also remove the suggestion of using a user with CREATEROLE and
CREATEDB instead of a superuser, as there is no real security
advantage to this approach.

Elsewhere in the documentation, adjust text that suggests that
<literal>CREATEROLE</literal> only allows for role creation, and
refer to the documentation in user-manag.sgml as appropriate.

Patch by me, reviewed by Álvaro Herrera

Discussion: http://postgr.es/m/CA+TgmoZBsPL8nPhvYecx7iGo5qpDRqa9k_AcaW1SbOjugAY1Ag@mail.gmail.com
doc/src/sgml/ref/alter_role.sgml
doc/src/sgml/ref/create_role.sgml
doc/src/sgml/ref/createuser.sgml
doc/src/sgml/user-manag.sgml