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: Tom Lane PostgreSQL <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, 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:41:40
Message-ID: 7DE7B1E4-5D44-4F93-845B-B542853AE3C3@yugabyte.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
>> david(dot)g(dot)johnston(at)gmail(dot)com wrote:
>>
>> Yes, the description for --username probably should be modified to read:
>>
>> "Selects the user name of the cluster's bootstrap superuser."
>
> Yeah, perhaps. The term "bootstrap superuser" is reasonably well established by now --- I count half a dozen uses in our SGML docs and another dozen or so in the code --- and it's certainly more specific than "database superuser". We should probably create a glossary entry for it and then change all the uses of "database superuser" as appropriate.
>
> However ... it looks to me like some of those uses just mean to distinguish between Postgres-specific superuser-dom as opposed to whatever the term might mean out in the operating system. But I'm not sure that anybody really uses that term for an OS-level
> concept on any popular OS, so it feels a bit pedantic as well as confusing. Should we leave those usages alone, or reduce them to just "superuser"?

Thanks, Tom. I'd certainly appreciate an entry in "Appendix M. Glossary" for the term of art that I've been struggling to name. Until I hear what the experts decide, I'll use "catalog-owning role". Then I'll switch to the newly blessed term.

I'm afraid that I didn't get your point in your last paragraph. The terms "within-cluster role" and "O/S user" seem to capture the distinction when the context doesn't make it clear. I aim never to use the term "user" for the within-cluster phenomenon. After all, an existing within-cluster role can flip between "with nologin" and "with login" at the drop of a hat of the guy "with createrole".

In response to

Browse pgsql-general by date

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