From: Bruce Momjian <bruce@momjian.us>
To: s.bailey@chorusintel.com
To: pgsql-docs@lists.postgresql.org
Subject: Re: CREATE ROLE
Date: Wed, 27 Mar 2024 17:58:48 -0400
Message-ID: <ZgSWmPDJ_dWFUObx@momjian.us> (raw)
In-Reply-To: <171150077554.7105.801523271545956671@wrigleys.postgresql.org>
References: <171150077554.7105.801523271545956671@wrigleys.postgresql.org>
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:
[text/x-diff] master.diff (803B, ../ZgSWmPDJ_dWFUObx@momjian.us/2-master.diff)
download | inline diff:diff --git a/doc/src/sgml/ref/create_role.sgml b/doc/src/sgml/ref/create_role.sgmlindex 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>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: bruce@momjian.us, s.bailey@chorusintel.com, pgsql-docs@lists.postgresql.org
Subject: Re: CREATE ROLE
In-Reply-To: <ZgSWmPDJ_dWFUObx@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox