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(-)