pgsql: Ignore dropped columns during apply of update/delete. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Ignore dropped columns during apply of update/delete.
Date
Msg-id E1peTf4-004adH-1W@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Ignore dropped columns during apply of update/delete.

We fail to apply updates and deletes when the REPLICA IDENTITY FULL is
used for the table having dropped columns. We didn't use to ignore dropped
columns while doing tuple comparison among the tuples from the publisher
and subscriber during apply of updates and deletes.

Author: Onder Kalaci, Shi yu
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CACawEhVQC9WoofunvXg12aXtbqKnEgWxoRx3+v8q32AWYsdpGg@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4cdaea7a211938a2471a8481f5efb61e7a88ad36

Modified Files
--------------
src/backend/executor/execReplication.c | 10 ++++--
src/test/subscription/t/100_bugs.pl    | 57 +++++++++++++++++++++++++++++++++-
2 files changed, 64 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Fix race in parallel hash join batch cleanup, take II.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: pg_waldump: Allow hexadecimal values for -t/--timeline option