diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-11-01 13:07:23 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-11-01 13:07:23 -0300 |
commit | da782bc9341ca3ebeab1ec214f2610c4778234c2 (patch) | |
tree | 84a068794fa22a6f5d7bf92a48aaf9bca3a780bb /src/backend/replication/logical/decode.c | |
parent | 16d0da5c8dda7340d6b1e724ad183313e6a254f2 (diff) |
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>
Diffstat (limited to 'src/backend/replication/logical/decode.c')
-rw-r--r-- | src/backend/replication/logical/decode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/replication/logical/decode.c b/src/backend/replication/logical/decode.c index ff18861276f..60d07ce4eb5 100644 --- a/src/backend/replication/logical/decode.c +++ b/src/backend/replication/logical/decode.c @@ -199,6 +199,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); |