Обсуждение: CREATE ROLE

Поиск
Список
Период
Сортировка

CREATE ROLE

От
PG Doc comments form
Дата:
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

Re: CREATE ROLE

От
Bruce Momjian
Дата:
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.

Вложения