Add link to HBA docs in initdb --auth documentation

Reaction to a suggestion from jhebert@micron.com, though this doesn't
directly address the complaint.

Discussion: https://postgr.es/m/165117307860.683.10308862820133754390@wrigleys.postgresql.org
This commit is contained in:
Alvaro Herrera 2022-05-14 09:57:03 +02:00
parent dce7072e51
commit 5bcc4d0933
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE

View File

@ -146,7 +146,12 @@ PostgreSQL documentation
<para>
This option specifies the default authentication method for local
users used in <filename>pg_hba.conf</filename> (<literal>host</literal>
and <literal>local</literal> lines). <command>initdb</command> will
and <literal>local</literal> lines). See <xref linkend="auth-pg-hba-conf"/>
for an overview of valid values.
</para>
<para>
<command>initdb</command> will
prepopulate <filename>pg_hba.conf</filename> entries using the
specified authentication method for non-replication as well as
replication connections.
@ -575,6 +580,7 @@ PostgreSQL documentation
<simplelist type="inline">
<member><xref linkend="app-pg-ctl"/></member>
<member><xref linkend="app-postgres"/></member>
<member><xref linkend="auth-pg-hba-conf"/></member>
</simplelist>
</refsect1>