From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: let's disallow ALTER ROLE bootstrap_superuser NOSUPERUSER
Date: Thu, 21 Jul 2022 12:46:57 -0400
Message-ID: <72971.1658422017@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwaRPMs_5N5OAuwREZv4ozictAaiSZ52zK8pKBOGN1tAWQ@mail.gmail.com>
References: <CA+TgmoZirCwArJms_fgvLBFrC6b=HdxmG7iAhv+kt_=NBA7tEw@mail.gmail.com>
<39752.1658420887@sss.pgh.pa.us>
<CAKFQuwaRPMs_5N5OAuwREZv4ozictAaiSZ52zK8pKBOGN1tAWQ@mail.gmail.com>
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Thu, Jul 21, 2022 at 9:28 AM Tom Lane <tgl@sss.pgh.pa.us> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, robertmhaas@gmail.com
Subject: Re: let's disallow ALTER ROLE bootstrap_superuser NOSUPERUSER
In-Reply-To: <72971.1658422017@sss.pgh.pa.us>
References: <CA+TgmoZirCwArJms_fgvLBFrC6b=HdxmG7iAhv+kt_=NBA7tEw@mail.gmail.com> <39752.1658420887@sss.pgh.pa.us> <CAKFQuwaRPMs_5N5OAuwREZv4ozictAaiSZ52zK8pKBOGN1tAWQ@mail.gmail.com> <72971.1658422017@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox