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-13 19:28:05
Message-ID: ZVJ4xQoiSyS6qo49@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

On Wed, Nov 8, 2023 at 01:12:24PM +0100, Laurenz Albe wrote:
> > I find the above sentence odd. What is its purpose?
>
> I cannot count how many times I have seen the complaint "I have run ALTER DEFAULT
> PRIVILEGES, and now when some other user creates a table, the permissions are
> unchanged". People tend to think that if you omit FOR ROLE, the change applies to
> PUBLIC.
>
> Your improved documentation of "target_role" already covers that somewhat, so if
> you don't like the repetition, I'm alright with that. I just thought it might
> be worth stating it explicitly.
>
> I think your patch is fine and ready to go.

Patch applied back to PG 16.

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

Only you can decide what is important to you.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Laurenz Albe 2023-11-13 19:33:33 Re: Version 14/15 documentation Section "Alter Default Privileges"
Previous Message Tom Lane 2023-11-13 16:23:16 Re: T is a mandatory date time separator in RFC3339 but documentation states differently

Browse pgsql-hackers by date

  From Date Subject
Next Message Laurenz Albe 2023-11-13 19:31:16 Re: Bug: RLS policy FOR SELECT is used to check new rows
Previous Message Robert Haas 2023-11-13 19:22:30 Re: trying again to get incremental backup