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 1oEZKJ-0007vo-UA for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Jul 2022 16:47:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oEZKH-0001Vr-0w for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Jul 2022 16:47:01 +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 1oEZKG-0001Vi-OA for pgsql-hackers@lists.postgresql.org; Thu, 21 Jul 2022 16:47:00 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEZKE-0002N0-KS for pgsql-hackers@postgresql.org; Thu, 21 Jul 2022 16:46:59 +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 26LGkv1d072972; Thu, 21 Jul 2022 12:46:57 -0400 From: Tom Lane To: "David G. Johnston" cc: Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: let's disallow ALTER ROLE bootstrap_superuser NOSUPERUSER In-reply-to: References: <39752.1658420887@sss.pgh.pa.us> Comments: In-reply-to "David G. Johnston" message dated "Thu, 21 Jul 2022 09:41:04 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <72970.1658422017.1@sss.pgh.pa.us> Date: Thu, 21 Jul 2022 12:46:57 -0400 Message-ID: <72971.1658422017@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > On Thu, Jul 21, 2022 at 9:28 AM Tom Lane wrote: >> True, but what if the idea is to have *no* superusers? I seem >> to recall people being interested in setups like that. > I would expect an initdb option (once this is possible) to specify this > desire and we just never set one up in the first place. It seems > impractical to remove one after it already exists. There has to be a role that owns the built-in objects. Robert's point is that pretending that that role isn't high-privilege is silly. regards, tom lane