Fix checking for recovery state in WaitForLSN()
Alexander Korotkov <akorotkov@postgresql.org>
Author:
Alexander Korotkov <akorotkov@postgresql.org>
Date: 2025-11-07T21:34:50Z
Releases:
19 (unreleased)
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlogwait.c | modified | +1 −1 |