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
This commit is contained in:
Bruce Momjian 2020-08-31 17:36:23 -04:00
parent 0ebe82a941
commit 50ed605b3e
1 changed files with 6 additions and 4 deletions

View File

@ -516,9 +516,10 @@ pg_upgrade.exe
<para> <para>
Save any configuration files from the old standbys' configuration Save any configuration files from the old standbys' configuration
directories you need to keep, e.g. <filename>postgresql.conf</filename>, directories you need to keep, e.g. <filename>postgresql.conf</filename>
<literal>pg_hba.conf</literal>, because these will be overwritten or (and any files included by it), <filename>postgresql.auto.conf</filename>,
removed in the next step. <literal>pg_hba.conf</literal>, because these will be overwritten
or removed in the next step.
</para> </para>
</step> </step>
@ -606,7 +607,8 @@ rsync --archive --delete --hard-links --size-only --no-inc-recursive /vol1/pg_tb
<para> <para>
If you modified <filename>pg_hba.conf</filename>, restore its original settings. 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 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> </para>
</step> </step>