Re: Seeking the correct term of art for the (unique) role that is usually called "postgres"—and the mental model that underlies it all

From: Bryn Llewellyn <bryn(at)yugabyte(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Ian Lawrence Barwick <barwick(at)gmail(dot)com>, pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)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: 2022-10-28 00:28:45
Message-ID: EB53F0C2-EBC1-409E-8CCA-BDBBE36A47B0@yugabyte.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
>
>> bryn(at)yugabyte(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Smith 2022-10-28 00:38:50 Re: Support logical replication of DDLs
Previous Message Bryn Llewellyn 2022-10-28 00:24:34 Re: Seeking the correct term of art for the (unique) role that is usually called "postgres"—and the mental model that underlies it all