Re: Version 14/15 documentation Section "Alter Default Privileges" - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Version 14/15 documentation Section "Alter Default Privileges"
Date
Msg-id ZUUlmpxzsZMSZ7N_@momjian.us
Whole thread Raw
In response to Re: Version 14/15 documentation Section "Alter Default Privileges"  (Michael Banck <mbanck@gmx.net>)
Responses Re: Version 14/15 documentation Section "Alter Default Privileges"
List pgsql-hackers
On Sat, Oct 28, 2023 at 11:01:59AM +0200, Michael Banck wrote:
> On Fri, Oct 27, 2023 at 05:49:42PM +0200, Laurenz Albe wrote:
> > True.  I have done that in the attached patch.
> > In this patch, it is mentioned *twice* that ALTER DEFAULT PRIVILEGES
> > only affects objects created by the current user.  I thought that
> > would not harm, but if it is too redundant, I can remove the second
> > mention.
> 
> I think it is fine, and I have marked the patch as ready-for-committer.
> 
> I think it should be applied to all branches, not just 14/15 as
> mentioned in the subject.

I have developed the attached patch on top of the alter default patch I
just applied.  It is more radical, making FOR ROLE clearer, and also
moving my new FOR ROLE text up to the first paragraph, and reordering
the paragraphs to be clearer.

I think this is too radical for backpatch to 11/12, but I think
16/master makes sense after the minor releases next week.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.

Attachment

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: MergeJoin beats HashJoin in the case of multiple hash clauses
Next
From: Bruce Momjian
Date:
Subject: Re: Document aggregate functions better w.r.t. ORDER BY