Skip to content

Commit 9774d9c

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 2bf1bec commit 9774d9c

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
@@ -515,9 +515,10 @@ pg_upgrade.exe
515515

516516
<para>
517517
Save any configuration files from the old standbys' configuration
518-
directories you need to keep, e.g. <filename>postgresql.conf</filename>,
519-
<literal>pg_hba.conf</literal>, because these will be overwritten or
520-
removed in the next step.
518+
directories you need to keep, e.g. <filename>postgresql.conf</filename>
519+
(and any files included by it), <filename>postgresql.auto.conf</filename>,
520+
<literal>pg_hba.conf</literal>, because these will be overwritten
521+
or removed in the next step.
521522
</para>
522523
</step>
523524

@@ -605,7 +606,8 @@ rsync --archive --delete --hard-links --size-only --no-inc-recursive /vol1/pg_tb
605606
<para>
606607
If you modified <filename>pg_hba.conf</filename>, restore its original settings.
607608
It might also be necessary to adjust other configuration files in the new
608-
cluster to match the old cluster, e.g. <filename>postgresql.conf</filename>.
609+
cluster to match the old cluster, e.g., <filename>postgresql.conf</filename>
610+
(and any files included by it), <filename>postgresql.auto.conf</filename>.
609611
</para>
610612
</step>
611613

0 commit comments

Comments
 (0)