This commit:
commit 910cab820d
Author: Alvaro Herrera <[email protected]>
Date: Fri Nov 18 11:59:26 2022 +0100
Add glossary entries related to superusers
Extracted from a more ambitious patch.
Author: David G. Johnston <[email protected]>
Discussion:
https://postgr.es/m/cakfquwzc4k0xybm0bwbmdozysbqhosekdhluaw4vpi+ozi8...@mail.gmail.com
used this text for the --username option:
-U username
--username=username
Selects the user name of the bootstrap superuser. This defaults
to the name of the cluster owner.
This seems wrong since the cluster owner doesn't exist until the cluster
is created. The text exists in PG 16 and master. The attached patch
fixes this.
--
Bruce Momjian <[email protected]> https://momjian.us
EDB https://enterprisedb.com
Only you can decide what is important to you.
diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml
index d43c91575c..17363c63b7 100644
--- a/doc/src/sgml/ref/initdb.sgml
+++ b/doc/src/sgml/ref/initdb.sgml
@@ -417,10 +417,9 @@ PostgreSQL documentation
<term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
<listitem>
<para>
- Selects the user name of the
+ Sets the user name of the
<glossterm linkend="glossary-bootstrap-superuser">bootstrap superuser</glossterm>.
- This defaults to the name of the
- <glossterm linkend="glossary-cluster-owner">cluster owner</glossterm>.
+ This defaults to the name of the installation user.
</para>
</listitem>
</varlistentry>