diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index 9ef7b4a0251..387ba53ef09 100644
--- a/doc/src/sgml/datatype.sgml
+++ b/doc/src/sgml/datatype.sgml
@@ -4572,7 +4572,7 @@ SELECT * FROM pg_attribute
The pg_lsn data type can be used to store LSN (Log Sequence
- Number) data which is a pointer to a location in the XLOG. This type is a
+ Number) data which is a pointer to a location in the WAL. This type is a
representation of XLogRecPtr and an internal system type of
PostgreSQL.
diff --git a/doc/src/sgml/pgstandby.sgml b/doc/src/sgml/pgstandby.sgml
index 80c6f600620..bf4edea9f18 100644
--- a/doc/src/sgml/pgstandby.sgml
+++ b/doc/src/sgml/pgstandby.sgml
@@ -22,7 +22,7 @@
option
archivelocation
nextwalfile
- xlogfilepath
+ walfilepath
restartwalfile
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml
index 05a0d6e8461..589b881ef2c 100644
--- a/doc/src/sgml/protocol.sgml
+++ b/doc/src/sgml/protocol.sgml
@@ -1371,7 +1371,7 @@ The commands accepted in walsender mode are:
- Current xlog flush location. Useful to get a known location in the
+ Current WAL flush location. Useful to get a known location in the
transaction log where streaming can start.
diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml
index 5c52824dfc4..127b759c14f 100644
--- a/doc/src/sgml/storage.sgml
+++ b/doc/src/sgml/storage.sgml
@@ -810,7 +810,7 @@ data. Empty in ordinary tables.
pd_lsn
PageXLogRecPtr
8 bytes
- LSN: next byte after last byte of xlog record for last change
+ LSN: next byte after last byte of WAL record for last change
to this page