diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml
index 16d93736349..a85d0ef02cb 100644
--- a/doc/src/sgml/ref/pg_ctl-ref.sgml
+++ b/doc/src/sgml/ref/pg_ctl-ref.sgml
@@ -1,5 +1,5 @@
@@ -392,15 +392,27 @@ PostgreSQL documentation
+
+ PGHOST
+
+
+
+ Default hostname or Unix-domain socket location for (used by the -w option).
+
+
+
+
PGPORT
- Default port for (used by the -w option).
+ Default port number for (used by the -w option).
+
diff --git a/doc/src/sgml/ref/postgres-ref.sgml b/doc/src/sgml/ref/postgres-ref.sgml
index 0024c43cc5a..636782a17da 100644
--- a/doc/src/sgml/ref/postgres-ref.sgml
+++ b/doc/src/sgml/ref/postgres-ref.sgml
@@ -1,5 +1,5 @@
@@ -579,7 +579,7 @@ PostgreSQL documentation
- Default port (preferably set in the configuration file)
+ Default port number (preferably set in the configuration file)