Re: "System roles" mentioned in psql documentation

From: Jürgen Purtz <juergen(at)purtz(dot)de>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: "System roles" mentioned in psql documentation
Date: 2018-08-24 09:40:19
Message-ID: 5409a8d0-5c29-3956-bb06-025b82fc3b56@purtz.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bradley DeJong 2018-08-24 15:43:28 Re: Enhancing protocol.sgml
Previous Message Martin Marques 2018-08-24 00:41:07 replication slots only need user with replication for creation