From e5dede90971d2ddbb7bca72ffc329c043bf717db Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 31 Jan 2018 16:25:21 -0500 Subject: [PATCH] doc: mention datadir locations are actually config locations Technically, pg_upgrade's --old-datadir and --new-datadir are configuration directories, not necessarily data directories. This is reflected in the 'postgres' manual page, so do the same for pg_upgrade. Reported-by: Yves Goergen Bug: 14898 Discussion: https://postgr.es/m/20171110220912.31513.13322@wrigleys.postgresql.org Backpatch-through: 10 --- doc/src/sgml/ref/pgupgrade.sgml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml index aaa4b04a424..ffa400ad849 100644 --- a/doc/src/sgml/ref/pgupgrade.sgml +++ b/doc/src/sgml/ref/pgupgrade.sgml @@ -24,9 +24,9 @@ newbindir - olddatadir + oldconfigdir - newdatadir + newconfigdir option @@ -99,16 +99,16 @@ - datadir - datadir - the old cluster data directory; environment + configdir + configdir + the old database cluster configuration directory; environment variable PGDATAOLD - datadir - datadir - the new cluster data directory; environment + configdir + configdir + the new database cluster configuration directory; environment variable PGDATANEW @@ -476,7 +476,7 @@ pg_upgrade.exe Save configuration files - Save any configuration files from the old standbys' data + 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.