pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
CREATE ROLE
2+ messages / 2 participants
[nested] [flat]

* CREATE ROLE
@ 2024-03-27 00:52  PG Doc comments form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2024-03-27 00:52 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: s.bailey@chorusintel.com

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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: CREATE ROLE
@ 2024-03-27 21:58  Bruce Momjian <bruce@momjian.us>
  parent: PG Doc comments form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2024-03-27 21:58 UTC (permalink / raw)
  To: s.bailey@chorusintel.com; pgsql-docs@lists.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.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>

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-03-27 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-03-27 00:52 CREATE ROLE PG Doc comments form <noreply@postgresql.org>
2024-03-27 21:58 ` Bruce Momjian <bruce@momjian.us>

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