pgsql: Document that WAIT FOR LSN is timeline-blind - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: Document that WAIT FOR LSN is timeline-blind
Date
Msg-id E1wJWm6-000CxA-15@gemulon.postgresql.org
Whole thread
List pgsql-committers
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>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/21d290161b11adc92a49da8e71fda69c20032618

Modified Files
--------------
doc/src/sgml/ref/wait_for.sgml | 14 ++++++++++++++
1 file changed, 14 insertions(+)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Add missing connection validation in ECPG
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Mark modified the FSM buffer as dirty during recovery