pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Michael Banck <mbanck@gmx.net>
Cc: David Burns <david.burns@fedex.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Version 14/15 documentation Section "Alter Default Privileges"
Date: Mon, 13 Nov 2023 14:28:05 -0500
Message-ID: <ZVJ4xQoiSyS6qo49@momjian.us> (raw)
In-Reply-To: <d3dcd30164a4f86588d33013e3bd41d7f576f17f.camel@cybertec.at>
References: <ZUUlmpxzsZMSZ7N_@momjian.us>
	<b227432f87266b680fd6f31e37b202b2fae5d9b6.camel@cybertec.at>
	<ZUaLgyKdfWeh6nlj@momjian.us>
	<244e0f9e3300f165ff578302e942fa3145dedfc7.camel@cybertec.at>
	<ZUbsWcPypVORlYCg@momjian.us>
	<ceac8e2df89a5eb1335ad8ce39c6ba0beaeddde3.camel@cybertec.at>
	<ZUkMi9UhnfHyIQMf@momjian.us>
	<06bdd234afabd3144ffaf8e95f42af0f3b38082e.camel@cybertec.at>
	<ZUq6fAsQZsyUAySx@momjian.us>
	<d3dcd30164a4f86588d33013e3bd41d7f576f17f.camel@cybertec.at>

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@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.





view thread (24+ messages)  latest in thread

Message-ID: <ZVJ4xQoiSyS6qo49@momjian.us>
Permalink:  ../ZVJ4xQoiSyS6qo49@momjian.us/
Also on:    postgresql.org/message-id/ZVJ4xQoiSyS6qo49@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: bruce@momjian.us, laurenz.albe@cybertec.at, mbanck@gmx.net, david.burns@fedex.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Version 14/15 documentation Section "Alter Default Privileges"
  In-Reply-To: <ZVJ4xQoiSyS6qo49@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox