From: | Amit Kapila <akapila(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Ignore dropped columns during apply of update/delete. |
Date: | 2023-03-21 04:31:50 |
Message-ID: | E1peTf4-004adE-11@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/fc63e6ba8670e0eb1bc40ae9fe4acdd4203bc36e
Modified Files
--------------
src/backend/executor/execReplication.c | 10 ++++--
src/test/subscription/t/100_bugs.pl | 57 +++++++++++++++++++++++++++++++++-
2 files changed, 64 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2023-03-21 07:11:04 | pgsql: pg_waldump: Allow hexadecimal values for -t/--timeline option |
Previous Message | Thomas Munro | 2023-03-21 01:59:06 | pgsql: Fix race in parallel hash join batch cleanup, take II. |