pgsql: Fix checking for recovery state in WaitForLSN() - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: Fix checking for recovery state in WaitForLSN()
Date
Msg-id E1vHUKV-005Vi4-1w@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix checking for recovery state in WaitForLSN()

We only need to do it for WAIT_LSN_TYPE_REPLAY.  WAIT_LSN_TYPE_FLUSH can work
for both primary and follower.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7742f99a02ed1679eb6baeb35491ea3cf8a3a36e

Modified Files
--------------
src/backend/access/transam/xlogwait.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: First-draft release notes for 18.1.
Next
From: Thomas Munro
Date:
Subject: pgsql: Fix generic read and write barriers for Clang.