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 1r0cU2-006pWA-NZ for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Nov 2023 06:56:14 +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 1r0cU0-00H9Dm-0f for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Nov 2023 06:56: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 1r0cTz-00H9DP-Mx for pgsql-hackers@lists.postgresql.org; Wed, 08 Nov 2023 06:56:11 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1r0cTu-004WPl-4Q for pgsql-hackers@lists.postgresql.org; Wed, 08 Nov 2023 06:56:10 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-99bdeae1d0aso1015375366b.1 for ; Tue, 07 Nov 2023 22:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699426563; x=1700031363; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :subject:cc:to:from:date:sender:message-id:from:to:cc:subject:date :message-id:reply-to; bh=Gs5/+7OV5ekmve39E2xnxOOif/Y41oqiufauQ2mx95s=; b=Qk6bg0RXlwGrHQKQ98w/Wo0x9WS/i3UOtcGTrzufRsMEarW2iFOmLzA2ZN6Q2ifNl6 BlLfXna2tDYbFjj8iVrYnfN2IPt1kzgeWqd8Vv1FFXqTbnDUkHwTY0Tk8cW/lz0hMIWq hzvNMRJw1EkAQ/rDZhETInmC5SHGeNmzrBcWL30/IScvDhMJvBFuNCBdENNeg7ARSXJc gcAiuhdLumF6ROf7pAXb2HX3o91q+uFZ0m/X9tOP8HPFDK61GZofUekEXG82WFkoY/kK gEc7M7/okHOi8a/NG8IzdXq9fBuVVTDynMGjg3qa71VD5EccgZtd9EmcwrNZ52Cgb0Vx 92lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699426563; x=1700031363; h=user-agent:in-reply-to:content-disposition:mime-version:references :subject:cc:to:from:date:sender:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Gs5/+7OV5ekmve39E2xnxOOif/Y41oqiufauQ2mx95s=; b=Aik1rpY4LzZwylsdlmdw850f590Iz9/8dQdmOTabZ5zuYzTsVqqG2FP5SBqvtUGujk JSbPCMzIja7oFcCZu78Gw/Do5oe4CM9xim29KYqC50l679TKX/tJsXWxTwZs3gRkpRR8 4ExosKd1ldhpxvCewOooialpzRtsEdkoVwqrlMihGvNJOKsVle+4e1A9OBhZ7XpUDeV1 V4X41cWtX8Ux1g9pzO3cZEeZVYFbbo2QIvbhdxn59IdgvqyF5WbGAa8n7Qr3ybrhjjjV M9f7QHE6Rxjl736Mf40ifCcDJG6EEG32xZbT1vsEuDo+bX1HHasJl2S5oeT4bfSWcDLQ +g9A== X-Gm-Message-State: AOJu0YyuDzX8pvNaLRAoR4aOITvkXGBIKtUq6qHWCGuyuh3zpa39U5WC Aqg8Awx0zXi4mjxfUvLKtz8= X-Google-Smtp-Source: AGHT+IFAKAkO4rNQ5kB2NO/OJqtCBgCm+dT7BUEM/PLxXp2AuH4gaiET4z+6n72IdNA+QRHc9WAx6Q== X-Received: by 2002:a17:906:eec6:b0:9d4:55b1:9249 with SMTP id wu6-20020a170906eec600b009d455b19249mr607857ejb.71.1699426563368; Tue, 07 Nov 2023 22:56:03 -0800 (PST) Received: from lightning.caipicrew.dd-dns.de ([2001:a61:34cf:1001:f11c:3b32:31b7:711]) by smtp.gmail.com with ESMTPSA id lc25-20020a170906dff900b009dd7bc622fbsm551329ejc.113.2023.11.07.22.56.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 22:56:02 -0800 (PST) Message-ID: <654b3102.170a0220.c794a.1f5b@mx.google.com> X-Google-Original-Message-ID: <20231108065601.GB25804@caipicrew.dd-dns.de;lightning.caipicrew.dd-dns.de> Sender: Michael Banck Received: from mbanck by lightning.caipicrew.dd-dns.de with local (Exim 4.92) (envelope-from ) id 1r0cTq-000114-8A; Wed, 08 Nov 2023 07:56:02 +0100 Date: Wed, 8 Nov 2023 07:56:02 +0100 From: Michael Banck To: Bruce Momjian Cc: Laurenz Albe , David Burns , pgsql-hackers@lists.postgresql.org Subject: Re: Version 14/15 documentation Section "Alter Default Privileges" References: <653cce08.050a0220.a10fb.7878@mx.google.com> <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: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Tue, Nov 07, 2023 at 05:30:20PM -0500, Bruce Momjian wrote: > On Mon, Nov 6, 2023 at 09:53:50PM +0100, Laurenz Albe wrote: > > + > > + There is no way to change the default privileges for objects created by > > + arbitrary roles. You have run ALTER DEFAULT PRIVILEGES > > I find the above sentence odd. What is its purpose? I guess it is to address the main purpose of this patch/confusion with users: they believe setting DEFAULT PRIVILEGES will set grants accordingly for all objects created in the future, no matter who creates them. So hammering in that this is not the case seems fine from my side (modulo the "You have to run" typo). Michael