Re: CREATE ROLE inheritance details

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: CREATE ROLE inheritance details
Date: 2024-04-04 01:11:47
Message-ID: CAKFQuwZMnW-LyqtwjHxZsm6Wkg5Jeg4sm8oM3H22NT2h36uHGg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Sat, Mar 30, 2024 at 11:16 PM Noah Misch <noah(at)leadboat(dot)com> wrote:

> On Tue, Jan 30, 2024 at 01:49:42PM -0700, David G. Johnston wrote:
> > + The membership grants created by the
> > + <literal>IN ROLE</literal>, <literal>ROLE</literal>, and
> <literal>ADMIN</literal>
> > + clauses have the role executing this command as the grantee.
>
> This should be s/grantee/grantor/, right?
>

Correct.

> > + If unspecified when create a new role membership this defaults to
> > + the inheritance attribute of the role being added.
>
> Need s/create/creating/. Missing comma. While phrase "role being added"
> isn't wrong, the rest of the paragraph uses "member" and uses "granted
> role"
> to refer to the member-of role. Putting those together:
>
> If unspecified when creating a new role membership, this defaults to the
> inheritance attribute of the new member.
>

I like that better.

David J.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2024-04-04 06:30:31 Need a PostgreSQL 16 developer edition for enabling vector support
Previous Message Magnus Hagander 2024-04-03 12:23:22 Re: tools.ietf.org is decommissioned and our links are redirected