pg_upgrade doc: mention saving postgresql.conf.auto files
authorBruce Momjian <bruce@momjian.us>
Mon, 31 Aug 2020 21:36:23 +0000 (17:36 -0400)
committerBruce Momjian <bruce@momjian.us>
Mon, 31 Aug 2020 21:36:23 +0000 (17:36 -0400)
Also mention files included by postgresql.conf.

Reported-by: Álvaro Herrera
Discussion: https://postgr.es/m/08AD4526-75AB-457B-B2DD-099663F28040@yesql.se

Backpatch-through: 9.5

doc/src/sgml/ref/pgupgrade.sgml

index 6779a5bddcf3fdf24a84a6fcd8d1b90c1c783d34..74f27130ec5c97041ff99a71203af82ba3a5033a 100644 (file)
@@ -516,9 +516,10 @@ pg_upgrade.exe
 
       <para>
        Save any configuration files from the old standbys' configuration
-       directories you need to keep, e.g.  <filename>postgresql.conf</filename>,
-       <literal>pg_hba.conf</literal>, because these will be overwritten or
-       removed in the next step.
+       directories you need to keep, e.g.  <filename>postgresql.conf</filename>
+       (and any files included by it), <filename>postgresql.auto.conf</filename>,
+       <literal>pg_hba.conf</literal>, because these will be overwritten
+       or removed in the next step.
       </para>
      </step>
 
@@ -606,7 +607,8 @@ rsync --archive --delete --hard-links --size-only --no-inc-recursive /vol1/pg_tb
     <para>
      If you modified <filename>pg_hba.conf</filename>, restore its original settings.
      It might also be necessary to adjust other configuration files in the new
-     cluster to match the old cluster, e.g. <filename>postgresql.conf</filename>.
+     cluster to match the old cluster, e.g., <filename>postgresql.conf</filename>
+     (and any files included by it), <filename>postgresql.auto.conf</filename>.
     </para>
    </step>