Skip to content

Commit 5ef2100

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 5dd0674 commit 5ef2100

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
@@ -200,6 +200,7 @@ DecodeXLogOp(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
200200
case XLOG_FPI_FOR_HINT:
201201
case XLOG_FPI:
202202
case XLOG_FPI_MULTI:
203+
case XLOG_OVERWRITE_CONTRECORD:
203204
break;
204205
default:
205206
elog(ERROR, "unexpected RM_XLOG_ID record type: %u", info);

0 commit comments

Comments
 (0)