mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
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>
This commit is contained in:
parent
0f9b9938a0
commit
40c516bba8
@ -224,6 +224,7 @@ DecodeXLogOp(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
|
||||
case XLOG_FPW_CHANGE:
|
||||
case XLOG_FPI_FOR_HINT:
|
||||
case XLOG_FPI:
|
||||
case XLOG_OVERWRITE_CONTRECORD:
|
||||
break;
|
||||
default:
|
||||
elog(ERROR, "unexpected RM_XLOG_ID record type: %u", info);
|
||||
|
Loading…
Reference in New Issue
Block a user