Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2cbV-0004OD-Le for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Nov 2023 19:28:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r2cbU-000c5f-Cn for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Nov 2023 19:28:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2cbT-000bnb-SX for pgsql-hackers@lists.postgresql.org; Mon, 13 Nov 2023 19:28:11 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2cbR-005PTb-2W for pgsql-hackers@lists.postgresql.org; Mon, 13 Nov 2023 19:28:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=qrKErXFHboP+49n4LYpoYEcpdmMBwWqktdhUJPVBjjM=; b=CCdl8 lh55/3b/GVxlwmPXvxcmKXoUKAQ3bZm73AOotiEmrgNfC8kOCs4Vm/Gb7rzr9BhMAyPcisr9kJtbx jch8lK42KcJYkChThN1r9KwtNrnKK0ZMypVSg2XQn/2i8yOTsCxCTQ6jfy/83UNE++/yYfLEa5bZL w15qUnmIxHv9qGLXt02BjAXO+joKd2ORS7ZzLxXteyHqWHazbFwR42IZkvwYou8JDLDnk5FrxsL9P 2tcFt/JrhfgkVdvgyPdr0LhS4jsxXuhf8sc5jyhXpjuA52dGF46r4XVPscWxGE/RS2mx/AqJbmNdJ Omc07RorZLwKy8QqtdVTETq3Naq1A==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1r2cbN-00Fpla-0u; Mon, 13 Nov 2023 14:28:05 -0500 Date: Mon, 13 Nov 2023 14:28:05 -0500 From: Bruce Momjian To: Laurenz Albe Cc: Michael Banck , David Burns , pgsql-hackers@lists.postgresql.org Subject: Re: Version 14/15 documentation Section "Alter Default Privileges" Message-ID: References: <244e0f9e3300f165ff578302e942fa3145dedfc7.camel@cybertec.at> <06bdd234afabd3144ffaf8e95f42af0f3b38082e.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.