Skip to content

Commit da782bc

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 16d0da5 commit da782bc

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

0 commit comments

Comments
 (0)