]> 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:05:42 +0000 (15:05 -0500)
commit1a5ff7be26966cec33d5593b89f8c5f94d29d036
tree9e90db12aec11cc0c746cf3e3428f70a64ee61e0
parentdfaa705ce423b5c55bb5effac1835d39aeb76767
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