Re: Version 14/15 documentation Section "Alter Default Privileges"

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: Michael Banck <mbanck(at)gmx(dot)net>, David Burns <david(dot)burns(at)fedex(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Version 14/15 documentation Section "Alter Default Privileges"
Date: 2023-11-06 15:55:55
Message-ID: ZUkMi9UhnfHyIQMf@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

On Mon, Nov 6, 2023 at 09:44:14AM +0100, Laurenz Albe wrote:
> On Sat, 2023-11-04 at 21:14 -0400, Bruce Momjian wrote:
> > > It is not the role that is modified.  Perhaps:
> > >
> > >    [...]; if omitted, the current role is used.
> >
> > Sure, attached.  Here is the issue I have though, we are really not
> > changing default privileges for objects created in the future, we are
> > changing the role _now_ so future objects will have different default
> > privileges, right?  I think wording like the above is kind of odd.
>
> I see what you mean. The alternative is to be precise, at the risk of
> repeating ourselves:
>
> if omitted, default privileges will be changed for objects created by
> the current role.

Okay, I think I have good wording for this. I didn't like the wording
of other roles, so I restructured that in the attached patch too.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.

Attachment Content-Type Size
role.diff text/x-diff 4.4 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Laurenz Albe 2023-11-06 20:53:50 Re: Version 14/15 documentation Section "Alter Default Privileges"
Previous Message Bruce Momjian 2023-11-06 15:26:16 Re: Version 14/15 documentation Section "Alter Default Privileges"

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2023-11-06 16:04:04 Re: Moving forward with TDE [PATCH v3]
Previous Message Andrew Dunstan 2023-11-06 15:30:28 Re: apply pragma system_header to python headers