Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mk8i2-0007j1-PH for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Nov 2021 17:45:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mk8i1-0005jE-51 for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Nov 2021 17:45:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mk8i0-0005hL-Rw for pgsql-hackers@lists.postgresql.org; Mon, 08 Nov 2021 17:45:28 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mk8hx-0001Gc-7T for pgsql-hackers@postgresql.org; Mon, 08 Nov 2021 17:45:27 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 475FD5C01DB; Mon, 8 Nov 2021 12:45:24 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 08 Nov 2021 12:45:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=zwQS6ED9sO9h4NIyG7UJopGVm9UD0Xwz1WNQ63LI6hs=; b=OOb3KvQb Jj2gJ2E0OmGCc6VWVDmKhDIdQEaO+yB6RJSgZK13z6V3CT6FVVgiukMjL8V0DJgy j+xt+pXYSiSa8xODy8J6YLwxDTjpIvaOBdup7vCHqtmo+veiWEbKXMUMmf58yKwW xF8zqyyTxiW9c88kxtMvqjczqfuQiuzQ5oxayHkscq0fS5BSD2n/D3BwAKO5cFa/ YWjmDjKzqfF546KeZTRrgLwsIHViFR6I14O/xBPzgW0xlBeEWGOZ+870jdh1ClV2 O+efVqzBUV01MjimzO77yMK8tqaS0LthJYK+eoHLAwwS54QZig37NMQ44vtgQ5qm /1+Bhhv1ZUBVpw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeejjeevffeukeejieekheehleduudehteeiudegteetkefh veelhfefvdduvdfgfeenucffohhmrghinhepphhoshhtghhrrdgvshdpvghnthgvrhhprh hishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 8 Nov 2021 12:45:23 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id E60982A067E; Mon, 8 Nov 2021 14:45:20 -0300 (-03) Date: Mon, 8 Nov 2021 14:45:20 -0300 From: Alvaro Herrera To: Stephen Frost Cc: Jeff Davis , Andres Freund , Robert Haas , "Bossart, Nathan" , "pgsql-hackers@postgresql.org" , Bharath Rupireddy Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT. Message-ID: <202111081745.2xfjjcflasr6@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211108173933.GH20998@tamriel.snowman.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Nov-08, Stephen Frost wrote: > * Alvaro Herrera (alvherre@alvh.no-ip.org) wrote: > > That said, if the list is short, then additional predefined roles seem > > preferrable to having a ton of infrastructure code that might be much > > more clutter than what seems a short list of additional predefined roles. > > None of this strikes me as a 'ton of infrastructure code' and so I'm not > quite sure I'm following the argument being made here. I was referring specifically to Andres' idea of having additional DDL commands handled as special GRANTable privileges, https://postgr.es/m/20211104224636.5qg6cfyjkw52rh4d@alap3.anarazel.de -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ "Hay quien adquiere la mala costumbre de ser infeliz" (M. A. Evans)