diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 57bfed9a756..c7c90d20e8e 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -3096,7 +3096,7 @@ include_dir 'conf.d'
in this list, and
that are both currently connected and streaming data in real-time
(as shown by a state of streaming in the
-
+
pg_stat_replication> view).
Specifying more than one synchronous standby can allow for very high
availability and protection against data loss.
@@ -3344,7 +3344,7 @@ ANY num_sync (
+
pg_stat_replication> view. The standby will report
the last write-ahead log location it has written, the last position it
has flushed to disk, and the last position it has applied.
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml
index 6c54fbd40d8..2737b310b24 100644
--- a/doc/src/sgml/high-availability.sgml
+++ b/doc/src/sgml/high-availability.sgml
@@ -890,7 +890,7 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
You can retrieve a list of WAL sender processes via the
-
+
pg_stat_replication> view. Large differences between
pg_current_wal_lsn> and the view's sent_lsn> field
might indicate that the master server is under heavy load, while
diff --git a/doc/src/sgml/release-10.sgml b/doc/src/sgml/release-10.sgml
index 19f2410c350..94a47b990b3 100644
--- a/doc/src/sgml/release-10.sgml
+++ b/doc/src/sgml/release-10.sgml
@@ -3743,7 +3743,7 @@ Branch: REL_10_STABLE [5159626af] 2017-11-03 14:14:16 -0400
-->
Add columns to pg_stat_replication
+ linkend="pg-stat-replication-view">pg_stat_replication
to report replication delay times (Thomas Munro)
diff --git a/doc/src/sgml/release-9.1.sgml b/doc/src/sgml/release-9.1.sgml
index 0454f849d44..b8cb7e3daa8 100644
--- a/doc/src/sgml/release-9.1.sgml
+++ b/doc/src/sgml/release-9.1.sgml
@@ -9667,7 +9667,7 @@ Branch: REL9_0_STABLE [9d6af7367] 2015-08-15 11:02:34 -0400
Add system view pg_stat_replication>
+ linkend="pg-stat-replication-view">pg_stat_replication>
which displays activity of WAL> sender processes (Itagaki
Takahiro, Simon Riggs)
diff --git a/doc/src/sgml/release-9.5.sgml b/doc/src/sgml/release-9.5.sgml
index e5e71a6af60..ab267235baa 100644
--- a/doc/src/sgml/release-9.5.sgml
+++ b/doc/src/sgml/release-9.5.sgml
@@ -6911,7 +6911,7 @@ max_wal_size = (3 * checkpoint_segments) * 16MB
-->
The pg_stat_replication
+ linkend="pg-stat-replication-view">pg_stat_replication
system view's sent field is now NULL, not zero, when
it has no valid value (Magnus Hagander)