From: Bryn Llewellyn <bryn@yugabyte.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Ian Lawrence Barwick <barwick@gmail.com>
Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject: Re: Seeking the correct term of art for the (unique) role that is usually called "postgres"—and the mental model that underlies it all
Date: Thu, 27 Oct 2022 17:28:45 -0700
Message-ID: <EB53F0C2-EBC1-409E-8CCA-BDBBE36A47B0@yugabyte.com> (raw)
In-Reply-To: <CAKFQuwaeuA7Q47ibv1m5=q2zCT_2z31cupAMenT5XYtvX1rvQg@mail.gmail.com>
References: <8A2C8B1B-470B-42F9-9694-C1EDDAC06266@yugabyte.com>
<CAKFQuwYHLCMpLgPbBC7idoomoKwrgrjGxOnd+D1CXAQtf3DHcg@mail.gmail.com>
<CAB8KJ=hvD3J-FCzP2Ley7nux9Kh5a8gsZCg1jV6X8rSJbCERCg@mail.gmail.com>
<5C47A318-F265-4A64-B306-C4019F499DB8@yugabyte.com>
<CAKFQuwaeuA7Q47ibv1m5=q2zCT_2z31cupAMenT5XYtvX1rvQg@mail.gmail.com>
> david.g.johnston@gmail.com> wrote:
>
>> bryn@yugabyte.com wrote:
>>
>> This invariant must hold if an "ordinary" within-cluster superuser is to qualify as the cluster's "bootstrap superuser":
>>
>> the name of the bootstrap superuser's within-cluster role
>>
>> AND
>>
>> the name of the O/S user that owns lots of (but not all*) the software files that define the PostgreSQL RDBMS, together with the various files that represent what users create
>>
>> are identical.
>
> Nope, the name of the bootstrap user is the one supplied to initdb via the --username argument. Period. It need not match any name on the host operating system and it will still be the bootstrap superuser's role name.
>
> Yes, the description for --username probably should be modified to read:
>
> "Selects the user name of the cluster's bootstrap superuser." Or just consider a "cluster superuser" the term d'art...since most people would just refer to any old role having superuser authorization as being plain ole "superuser". The fact that is says "database superuser" is the same holdover effect as the fact that "init db" means "init database" even though it actually initializes a cluster.
Thanks again, David. And once again, all is clear now.
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-general@postgresql.org
Cc: bryn@yugabyte.com, david.g.johnston@gmail.com, barwick@gmail.com
Subject: Re: Seeking the correct term of art for the (unique) role that is usually called "postgres"—and the mental model that underlies it all
In-Reply-To: <EB53F0C2-EBC1-409E-8CCA-BDBBE36A47B0@yugabyte.com>
References: <8A2C8B1B-470B-42F9-9694-C1EDDAC06266@yugabyte.com> <CAKFQuwYHLCMpLgPbBC7idoomoKwrgrjGxOnd+D1CXAQtf3DHcg@mail.gmail.com> <CAB8KJ=hvD3J-FCzP2Ley7nux9Kh5a8gsZCg1jV6X8rSJbCERCg@mail.gmail.com> <5C47A318-F265-4A64-B306-C4019F499DB8@yugabyte.com> <CAKFQuwaeuA7Q47ibv1m5=q2zCT_2z31cupAMenT5XYtvX1rvQg@mail.gmail.com> <EB53F0C2-EBC1-409E-8CCA-BDBBE36A47B0@yugabyte.com>
* 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