CREATE ROLE

Started by PG Bug reporting formabout 2 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/sql-createrole.html
Description:

https://www.postgresql.org/docs/16/sql-createrole.html

ROLE role_name
The ROLE clause causes one or more specified existing roles to be
automatically added as members, with the SET option enabled. This in effect
makes the new role a “group”. Roles named in this clause with role-level the
INHERIT attribute will have the INHERIT option enabled in the new
membership. New memberships will have the ADMIN option disabled.

The following sentence is badly worded:
Roles named in this clause with role-level the INHERIT attribute will have
the INHERIT option enabled in the new membership

#2Bruce Momjian
bruce@momjian.us
In reply to: PG Bug reporting form (#1)
Re: CREATE ROLE

On Wed, Mar 27, 2024 at 12:52:55AM +0000, PG Doc comments form wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/sql-createrole.html
Description:

https://www.postgresql.org/docs/16/sql-createrole.html

ROLE role_name
The ROLE clause causes one or more specified existing roles to be
automatically added as members, with the SET option enabled. This in effect
makes the new role a “group”. Roles named in this clause with role-level the
INHERIT attribute will have the INHERIT option enabled in the new
membership. New memberships will have the ADMIN option disabled.

The following sentence is badly worded:
Roles named in this clause with role-level the INHERIT attribute will have
the INHERIT option enabled in the new membership

Yep, fixed in the attached patch, applied back to PG 16 where this typo
was created. Thanks for the report.

--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.

Attachments:

master.difftext/x-diff; charset=us-asciiDownload+1-1