pgsql: Handle XLOG_OVERWRITE_CONTRECORD in DecodeXLogOp

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Handle XLOG_OVERWRITE_CONTRECORD in DecodeXLogOp
Date: 2021-11-01 16:08:56
Message-ID: E1mhZrk-0000Gs-HX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)jelinek(at)enterprisedb(dot)com>

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/656312c2ac328aa8af20b4c5f0fab1f7f7202b2f

Modified Files
--------------
src/backend/replication/logical/decode.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-11-01 20:24:56 pgsql: Avoid some other O(N^2) hazards in list manipulation.
Previous Message Michael Paquier 2021-11-01 04:19:08 pgsql: Add TAP test for pg_receivewal with timeline switch