doc: clarify how the bootstrap user name is chosen
Discussion: https://postgr.es/m/167931662853.3349090.18217722739345182859@wrigleys.postgresql.org Backpatch-through: 16
This commit is contained in:
parent
7454502f94
commit
8209605966
@ -103,11 +103,10 @@ SELECT rolname FROM pg_roles WHERE rolcanlogin;
|
|||||||
<para>
|
<para>
|
||||||
In order to bootstrap the database system, a freshly initialized
|
In order to bootstrap the database system, a freshly initialized
|
||||||
system always contains one predefined login-capable role. This role
|
system always contains one predefined login-capable role. This role
|
||||||
is always a <quote>superuser</quote>, and by default it will have
|
is always a <quote>superuser</quote>, and it will have
|
||||||
the same name as the operating system user that initialized the
|
the same name as the operating system user that initialized the
|
||||||
database cluster, unless another name is specified while
|
database cluster with <command>initdb</command> unless a different name
|
||||||
running <command>initdb</command>.
|
is specified. This role is often named
|
||||||
It is common, but not required, to arrange for this role to be named
|
|
||||||
<literal>postgres</literal>. In order to create more roles you
|
<literal>postgres</literal>. In order to create more roles you
|
||||||
first have to connect as this initial role.
|
first have to connect as this initial role.
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user