mirror of
https://github.com/postgres/postgres.git
synced 2025-06-22 02:52:08 +03:00
Fix copy & paste error in 4f1b890b13
.
Due to the bug delayed standbys would not delay when applying prepared transactions. Discussion: CAB7nPqT6BO1cCn+sAyDByBxA4EKZNAiPi2mFJ=ANeZmnmewRyg@mail.gmail.com Michael Paquier via Coverity.
This commit is contained in:
@ -5534,7 +5534,7 @@ recoveryApplyDelay(XLogReaderState *record)
|
||||
if (XLogRecGetRmid(record) != RM_XACT_ID)
|
||||
return false;
|
||||
|
||||
xact_info = XLogRecGetInfo(record) & XLOG_XACT_COMMIT;
|
||||
xact_info = XLogRecGetInfo(record) & XLOG_XACT_OPMASK;
|
||||
|
||||
if (xact_info != XLOG_XACT_COMMIT &&
|
||||
xact_info != XLOG_XACT_COMMIT_PREPARED)
|
||||
|
Reference in New Issue
Block a user