Add link to HBA docs in initdb --auth documentation
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 14 May 2022 07:57:03 +0000 (09:57 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 14 May 2022 07:57:03 +0000 (09:57 +0200)
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

doc/src/sgml/ref/initdb.sgml

index c9ffaaecfb9ff7f8ff78a7bd0c8dd9f4ad3f7c6c..f01df2dde961c792b85a7e9f87a2e12cb31021b8 100644 (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>