Skip to content

Commit cada05e

Browse files
committed
pg_upgrade doc: mention saving postgresql.conf.auto files
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
1 parent 6d33681 commit cada05e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/src/sgml/ref/pgupgrade.sgml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,10 @@ pg_upgrade.exe
481481

482482
<para>
483483
Save any configuration files from the old standbys' configuration
484-
directories you need to keep, e.g. <filename>postgresql.conf</>,
485-
<literal>recovery.conf</>, because these will be overwritten or
486-
removed in the next step.
484+
directories you need to keep, e.g. <filename>postgresql.conf</filename>
485+
(and any files included by it), <filename>postgresql.auto.conf</filename>,
486+
<literal>recovery.conf</literal>, <literal>pg_hba.conf</literal>,
487+
because these will be overwritten or removed in the next step.
487488
</para>
488489
</step>
489490

@@ -571,7 +572,8 @@ rsync --archive --delete --hard-links --size-only --no-inc-recursive /vol1/pg_tb
571572
<para>
572573
If you modified <filename>pg_hba.conf</>, restore its original settings.
573574
It might also be necessary to adjust other configuration files in the new
574-
cluster to match the old cluster, e.g. <filename>postgresql.conf</>.
575+
cluster to match the old cluster, e.g., <filename>postgresql.conf</filename>
576+
(and any files included by it), <filename>postgresql.auto.conf</filename>.
575577
</para>
576578
</step>
577579

0 commit comments

Comments
 (0)