From: Bruce Momjian Date: Mon, 31 Aug 2020 21:36:22 +0000 (-0400) Subject: pg_upgrade doc: mention saving postgresql.conf.auto files X-Git-Tag: REL_10_15~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cada05eb6c2d8effb705ef23dad59ca27f24c9c3;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml index 72cb79a59e5..7a7eec66182 100644 --- a/doc/src/sgml/ref/pgupgrade.sgml +++ b/doc/src/sgml/ref/pgupgrade.sgml @@ -481,9 +481,10 @@ pg_upgrade.exe Save any configuration files from the old standbys' configuration - directories you need to keep, e.g. postgresql.conf, - recovery.conf, because these will be overwritten or - removed in the next step. + directories you need to keep, e.g. postgresql.conf + (and any files included by it), postgresql.auto.conf, + recovery.conf, pg_hba.conf, + because these will be overwritten or removed in the next step. @@ -571,7 +572,8 @@ rsync --archive --delete --hard-links --size-only --no-inc-recursive /vol1/pg_tb If you modified pg_hba.conf, 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. postgresql.conf. + cluster to match the old cluster, e.g., postgresql.conf + (and any files included by it), postgresql.auto.conf.