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 | 656312c2ac328aa8af20b4c5f0fab1f7f7202b2f (patch) | |
tree | aa7c7c7eee7b60e74eab8d30a0eefb9b5ecf11be /src | |
parent | d87d5f8d8d3ae35c15c44ddb26bbc2b916f2bc12 (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')
-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 3778ea9228d..6f8920f52cb 100644 --- a/src/backend/replication/logical/decode.c +++ b/src/backend/replication/logical/decode.c @@ -196,6 +196,7 @@ DecodeXLogOp(LogicalDecodingContext *ctx, XLogRecordBuffer *buf) case XLOG_FPI_FOR_HINT: case XLOG_FPI: case XLOG_FPI_MULTI: + case XLOG_OVERWRITE_CONTRECORD: break; default: elog(ERROR, "unexpected RM_XLOG_ID record type: %u", info); |