Re: "System roles" mentioned in psql documentation

Поиск
Список
Период
Сортировка
От Jürgen Purtz
Тема Re: "System roles" mentioned in psql documentation
Дата
Msg-id 5409a8d0-5c29-3956-bb06-025b82fc3b56@purtz.de
обсуждение исходный текст
Ответ на Re: "System roles" mentioned in psql documentation  (Michael Paquier <michael@paquier.xyz>)
Список 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



В списке pgsql-docs по дате отправления:

Предыдущее
От: Martin Marques
Дата:
Сообщение: replication slots only need user with replication for creation
Следующее
От: "Bradley DeJong"
Дата:
Сообщение: Re: Enhancing protocol.sgml