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 <br...@momjian.us> https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.
diff --git a/doc/src/sgml/ref/create_role.sgml b/doc/src/sgml/ref/create_role.sgml index f3b89e7239b..1a875e04a74 100644 --- a/doc/src/sgml/ref/create_role.sgml +++ b/doc/src/sgml/ref/create_role.sgml @@ -309,7 +309,7 @@ in sync when changing the above synopsis! existing roles to be automatically added as members, with the <literal>SET</literal> option enabled. This in effect makes the new role a <quote>group</quote>. Roles named in this clause - with role-level the <literal>INHERIT</literal> attribute will have + with the role-level <literal>INHERIT</literal> attribute will have the <literal>INHERIT</literal> option enabled in the new membership. New memberships will have the <literal>ADMIN</literal> option disabled. </para>