Skip to content

Commit 9919770

Browse files
committed
Handle XLOG_OVERWRITE_CONTRECORD in DecodeXLogOp
Failing to do so results in inability of logical decoding to process the WAL stream. Handle it by doing nothing. Backpatch all the way back. Reported-by: Petr Jelínek <petr.jelinek@enterprisedb.com>
1 parent fdb60ca commit 9919770

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/replication/logical/decode.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ DecodeXLogOp(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
196196
case XLOG_FPI_FOR_HINT:
197197
case XLOG_FPI:
198198
case XLOG_FPI_MULTI:
199+
case XLOG_OVERWRITE_CONTRECORD:
199200
break;
200201
default:
201202
elog(ERROR, "unexpected RM_XLOG_ID record type: %u", info);

0 commit comments

Comments
 (0)