diff --git a/doc/src/sgml/ref/wait_for.sgml b/doc/src/sgml/ref/wait_for.sgml
index 8819973c774..cd5dd031991 100644
--- a/doc/src/sgml/ref/wait_for.sgml
+++ b/doc/src/sgml/ref/wait_for.sgml
@@ -257,6 +257,20 @@ WAIT FOR LSN 'lsn'
timeline.
+
+ WAIT FOR compares only the numeric
+ LSN; it has no notion of which timeline a WAL
+ record belongs to. This matters when a standby continues recovery
+ across an upstream timeline switch — for example, a cascading
+ standby whose upstream gets promoted. In that case
+ WAIT FOR will return success
+ as soon as the position used by the selected wait mode reaches or
+ passes the numeric LSN, regardless of which
+ timeline that LSN belongs to. Applications that need to
+ confirm the target refers to the expected timeline must validate
+ the timeline themselves.
+
+
On a standby server, WAIT FOR sessions may be
interrupted by recovery conflicts. Some recovery conflicts are