]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Ignore dropped columns during apply of update/delete.
authorAmit Kapila <akapila@postgresql.org>
Tue, 21 Mar 2023 03:37:37 +0000 (09:07 +0530)
committerAmit Kapila <akapila@postgresql.org>
Tue, 21 Mar 2023 03:37:37 +0000 (09:07 +0530)
commit751d6676daf3413f7c0fbc83860238d02114dbcd
treea61c35c8b7897765cc2e7740c5564f09ab55d88d
parent6e94d62e3f04b03c95bd707e43ba32147d35908e
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
src/backend/executor/execReplication.c
src/test/subscription/t/100_bugs.pl