Re: CREATE ROLE inheritance details

From: Noah Misch <noah(at)leadboat(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(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-13 15:00:47
Message-ID: 20240413150047.50@rfd.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Wed, Apr 03, 2024 at 06:11:47PM -0700, David G. Johnston wrote:
> 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.

Pushed as 68ba46d. Thanks for reviewing.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Anton Voloshin 2024-04-16 08:48:07 Re: three small improvements for "Composite Types" page
Previous Message David G. Johnston 2024-04-12 20:44:59 Re: three small improvements for "Composite Types" page