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.98.2) (envelope-from ) id 1x9hef-00000002B32-1q89 for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Sep 2026 11:30:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1x9hee-0000000BNlJ-2xPV for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Sep 2026 11:30:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x9hd4-0000000BKOD-3fg8 for pgsql-hackers@lists.postgresql.org; Thu, 24 Sep 2026 11:28:43 +0000 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x9hd2-0000000139O-1Kih for pgsql-hackers@postgresql.org; Thu, 24 Sep 2026 11:28:42 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 9BDC1EC00B6; Thu, 24 Sep 2026 07:28:37 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Thu, 24 Sep 2026 07:28:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1790249317; x=1790335717; bh=JqLRAQI2ce su7mI5U32Zj0xKc+A1Ms35QBL1uY1aZAU=; b=Ayuco3urCpbQXkddIQ6SST2fgw jexSUQHqjxFOeGv2sL5QapwaCMX+jtY6q+JI85RNlYIhuUCGhsxPjgOtpFDnF5qV 2war9lxvgyQ76s69swhPpTUPuKiciw9NKR/75dPgYDWlncK+/+8P4AkXxYGPA1xS kt5UOseJFA6ciwL4XK1WuaRrFB/oe38cRHeRsTL3Rglb0iKCDze6ybnpmTVJGG7L LavVDgVJhBtjgb99VJ74YQbls+ffVJJY45bhOwpfFGMD2t5VEBjunuDkLWpyZSVf K7X1GZy2+k1xv6zAW2FpruME0xilzUX9z1Hi0ZgPcyT2SaXk/eEu8TwihayA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1790249317; x=1790335717; bh=JqLRAQI2cesu7mI5U32Zj0xKc+A1Ms35QBL 1uY1aZAU=; b=HypA/NpuHtYOTqD0gfHugc9Aqb41UdLIVhsk8pvojvkmw3p9xNL z7SSPPMPTnZguaxqp2+iqhZ0APbIxNttbTXqP2HF8Xj+JF3bO0xrsIUNXZ/xB5DA uFWLWYbGiUIhtEfLba3SUiKGIa+jtuB+RaltmnFFU7yW+5hLnanaFWxdRiBbATfe rvWHrNC5LhpYXVzJi57wtodCllZwJNFK4mup7CwklLWzihxvOFSW92VCvuUlL+KY aoeKGxXbA8dVA6rxzunbXZEo+94NC46WXtrD/TZbGf88Uev9i+4T4Dp4EdQSuGMT pTczZBEhxbds4ObdE0o/GvfipV3NVQTrwfA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGf7US81NlB3VnKNkXfcnCyxNUQVQOpjxmvb1Hm3JEA4o5Vw+rwHVLK/CFdN24h/p UzwaoK8HASYjbMA5spT39fRXC+ubm5vAtpKXGgzmfiQn5s8KOQwzHQk3Ypxnezk/OoxJ54 ydyXiUNkL8g1Y3C47tinpxgf2i5huTWinAbu9BXHMVuDYMAm+6N5Buhf3YoPjM0JIxijO+ /dXCUJYSlV+q0E3TcMke7Pf08nZbODOF6y/jmwOz1TL/IHhlnx2LGn3lTmUpntAFximR0C WzB7+dNyWrdM8PtUeDm7BXy9ok+wuo8i6fflCf3R5HYW5XKtaIXi2E25ON9jY2WydQvecT 4ukbxXXNdZr1HZQtUdi5y6AK2EQhMIakbzF+LGG6HtcfYJOeldc1d4zhi8t5NxpPeuaoFQ Bf4vH0Vtn0IeXIqRM4ZCX23+b9F60jmV6o6TiuyinddJ5bFyt5aW/JykHZlTmGKYyMdjRr 8RFa2EP+FNu8fFiyEcm2ziLhScQ7XnSQIIYFGz+eNAXhFd49PLHnvyPR+xMEg09KAJ5nlx xqyE/mybe1JHz00uEwK1qQk4ozIPRRfv+9m1d1OQWSmNFbScqsy1R5vZ4aF+eMnSXVjgmH NIVwBowl6SHzMjUtepRZA/rAocHk60ffgMqm7k8MCOv+KNwZwLUpUpcfaFSA X-ME-Proxy: Feedback-ID: i1ff147bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 24 Sep 2026 07:28:36 -0400 (EDT) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: Michael Banck Cc: Chao Li , Yuhang Qiu , PostgreSQL-development Subject: Re: [PATCH] Add ALTER SYSTEM RELOAD In-Reply-To: <20260924093522.GA19443@p46.dedyn.io;lightning.p46.dedyn.io> (Michael Banck's message of "Thu, 24 Sep 2026 11:35:23 +0200") References: <5A1F1E3B-D22F-487B-9480-D3DDB5F0C2A1@gmail.com> <20260924093522.GA19443@p46.dedyn.io;lightning.p46.dedyn.io> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Thu, 24 Sep 2026 12:28:35 +0100 Message-ID: <87ld8qq464.fsf@wibble.ilmari.org> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Banck writes: > Hi, > > On Thu, Sep 24, 2026 at 03:39:22PM +0800, Chao Li wrote: >> Is there a reason ALTER SYSTEM RELOAD needs stronger privileges than >> pg_reload_conf()? > > Well, it is clear that you won't be able to GRANT this on a SQL-level. > > But what could be done is add the pg_maintain (or something similar) > default role as an allowed user for running this command besides > Superuser. There's already GRANT ALTER SYSTEM ON PARAMETER, it would be natural to extend that with GRANT ALTER SYSTEM RELOAD and whatver other operations we decide to add. > Michael - ilmari