]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Document that WAIT FOR LSN is timeline-blind
authorAlexander Korotkov <akorotkov@postgresql.org>
Sun, 3 May 2026 13:20:41 +0000 (16:20 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Sun, 3 May 2026 13:22:02 +0000 (16:22 +0300)
commit21d290161b11adc92a49da8e71fda69c20032618
tree88d0673794681ebfd2d6a44342c6fb5da3177ab6
parentcb096e6d6981e0a4b25beb46ab0cf9154971123a
Document that WAIT FOR LSN is timeline-blind

WAIT FOR LSN compares only the numeric LSN and has no notion of which
timeline a WAL record belongs to.  There are many possible scenarios when
timeline-switching can break read-your-writes consistency.  The proper
analysis and timeline support is possible in the next major release.  Yet
just document the current behaviour.

Reported-by: Xuneng Zhou <xunengzhou@gmail.com>
Author: Alexander Korotkov <aekorotkov@gmail.com>
doc/src/sgml/ref/wait_for.sgml