Re: Seeming contradiction in 22.1

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Seeming contradiction in 22.1
Дата
Msg-id CAKFQuwbH24u4aZMLpAm93p0kvZ+e8CqjKY-piYW5LyAEfRbXow@mail.gmail.com
обсуждение исходный текст
Ответ на Seeming contradiction in 22.1  (PG Doc comments form <noreply@postgresql.org>)
Ответы Re: Seeming contradiction in 22.1  (maja zaloznik <maja.zaloznik@gmail.com>)
Список pgsql-docs
On Monday, March 20, 2023, PG Doc comments form <noreply@postgresql.org> wrote:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/15/database-roles.html
Description:

In chapter 22.1 the following text seems to imply the role will have "the
same name as the user that initialised" it and also the "role will be named
postgres". Which cannot both be true, or perhaps the text is trying to say
something else, but in doing so is not clear.

"This role is always a “superuser”, and by default (unless altered when
running initdb) it will have the same name as the operating system user that
initialized the database cluster. Customarily, this role will be named
postgres. "

The words “default” and “unless altered” seem quite clear to me.  In particular, the “customarily” part is accomplished usually by creating an operating system user named postgres and then running initdb as that user.

David J.

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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Seeming contradiction in 22.1
Следующее
От: maja zaloznik
Дата:
Сообщение: Re: Seeming contradiction in 22.1