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 1p2F7C-0000I9-Cq for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2022 17:18:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p2F7A-000636-UX for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2022 17:18:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p2F7A-00062x-LI for pgsql-hackers@lists.postgresql.org; Mon, 05 Dec 2022 17:18:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p2F78-0005NV-Fj for pgsql-hackers@postgresql.org; Mon, 05 Dec 2022 17:18:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 2B5HIgM43311901; Mon, 5 Dec 2022 12:18:42 -0500 From: Tom Lane To: Alvaro Herrera cc: Alexander Korotkov , Pavel Borisov , Steve Chavez , Kyotaro Horiguchi , nathandbossart@gmail.com, pgsql-hackers@postgresql.org Subject: Re: Allow placeholders in ALTER ROLE w/o superuser In-reply-to: <20221205171120.pvg6v2kdyswvzzca@alvherre.pgsql> References: <20221205171120.pvg6v2kdyswvzzca@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Mon, 05 Dec 2022 18:11:20 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3311899.1670260722.1@sss.pgh.pa.us> Date: Mon, 05 Dec 2022 12:18:42 -0500 Message-ID: <3311900.1670260722@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > I couldn't find any discussion of the idea of adding "(s)" to the > variable name in order to mark the variable userset in the catalog, and > I have to admit I find it a bit strange. Are we really agreed that > that's the way to proceed? I hadn't been paying close attention to this thread, sorry. I agree that that seems like a very regrettable choice, especially if you anticipate having to bump catversion anyway. Better to add a bool column to the catalog. regards, tom lane