diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml
index c3df343571f..ba3cc133cbe 100644
--- a/doc/src/sgml/ref/pgupgrade.sgml
+++ b/doc/src/sgml/ref/pgupgrade.sgml
@@ -24,9 +24,9 @@
newbindir
- olddatadir
+ oldconfigdir
- newdatadir
+ newconfigdiroption
@@ -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>y
+ 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.