Thread: "System roles" mentioned in psql documentation

"System roles" mentioned in psql documentation

From
Michael Paquier
Date:
Hi all,

I have noticed that psql documentation mentions "system roles", however
in all other parts of the docs, we use the term "default roles".
Shouldn't we make this term more consistent and also add a link to the
table describing those roles?  Please see the attached.

Thanks,
--
Michael

Attachment

Re: "System roles" mentioned in psql documentation

From
Jürgen Purtz
Date:
This inconsistency is part of the more general problem that we miss a 
chapter, where our basic terms like 'database', 'cluster', 'segment', 
'catalog', 'schema', ... are explicitly defined.

Kind regards

Jürgen Purtz




Re: "System roles" mentioned in psql documentation

From
"Jonathan S. Katz"
Date:
> On Aug 23, 2018, at 3:58 AM, Michael Paquier <michael@paquier.xyz> wrote:
>
> Hi all,
>
> I have noticed that psql documentation mentions "system roles", however
> in all other parts of the docs, we use the term "default roles".
> Shouldn't we make this term more consistent and also add a link to the
> table describing those roles?  Please see the attached.

I did a quick search for other cases of “system roles” with nothing coming
up, so it looks like you caught the only reference. LGTM.

Thanks!

Jonathan


Attachment

Re: "System roles" mentioned in psql documentation

From
Michael Paquier
Date:
On Thu, Aug 23, 2018 at 10:53:35AM +0200, Jürgen Purtz wrote:
> This inconsistency is part of the more general problem that we miss a
> chapter, where our basic terms like 'database', 'cluster', 'segment',
> 'catalog', 'schema', ... are explicitly defined.

You may have a point here, not in the way of reworking entirely the
documentation, but in the fact that we may want to use "system objects"
instead of "system roles".  I am not personally sure that it is a better
improvement than using "default roles", but that's a point to raise.
--
Michael

Attachment

Re: "System roles" mentioned in psql documentation

From
Jürgen Purtz
Date:
On 24.08.2018 02:21, Michael Paquier wrote:

> On Thu, Aug 23, 2018 at 10:53:35AM +0200, Jürgen Purtz wrote:
>> This inconsistency is part of the more general problem that we miss a
>> chapter, where our basic terms like 'database', 'cluster', 'segment',
>> 'catalog', 'schema', ... are explicitly defined.
> You may have a point here, not in the way of reworking entirely the
> documentation, but in the fact that we may want to use "system objects"
> instead of "system roles".  I am not personally sure that it is a better
> improvement than using "default roles", but that's a point to raise.
> --
> Michael

First, the intention of my note was to improve the complete 
documentation by defining the meaning of important terms in a separate 
chapter. The discussion about "system roles" and "default roles" is only 
one of many points where we use terms in a fuzzy way.

Second (and this seems to be the point of your mail), the term "role" is 
loosely described at the beginning of chapter 21 "A role can be thought 
of as either a database user, or ... ". In contrast to this description 
chapter 21.5 and table 21.1. use the term "role" very differently. Here 
it is used in the sense of a "capability", a "right", a "permission", an 
"allowed access" ... . This cumulates in the example at the bottom: 
"GRANT pg_signal_backend TO admin_user;"  What is the "role", the 
"pg_signal_backend" or the "admin_user"?

Kind regards
Jürgen Purtz