Commit 50ed605b authored by Bruce Momjian's avatar Bruce Momjian

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
parent 0ebe82a9
...@@ -516,9 +516,10 @@ pg_upgrade.exe ...@@ -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 ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment