Skip to content

Commit a1105c3

Browse files
committed
Fix copy & paste error in 4f1b890.
Due to the bug delayed standbys would not delay when applying prepared transactions. Discussion: CAB7nPqT6BO1cCn+sAyDByBxA4EKZNAiPi2mFJ=ANeZmnmewRyg@mail.gmail.com Michael Paquier via Coverity.
1 parent 372b970 commit a1105c3

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5534,7 +5534,7 @@ recoveryApplyDelay(XLogReaderState *record)
55345534
if (XLogRecGetRmid(record) != RM_XACT_ID)
55355535
return false;
55365536

5537-
xact_info = XLogRecGetInfo(record) & XLOG_XACT_COMMIT;
5537+
xact_info = XLogRecGetInfo(record) & XLOG_XACT_OPMASK;
55385538

55395539
if (xact_info != XLOG_XACT_COMMIT &&
55405540
xact_info != XLOG_XACT_COMMIT_PREPARED)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy