]> 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 04:10:41 +0000 (09:40 +0530)
committerAmit Kapila <akapila@postgresql.org>
Tue, 21 Mar 2023 04:10:41 +0000 (09:40 +0530)
commit3c12407f4cf735e17a8af54ab4306cd199601619
tree7341e010f0d73e9985793ca33b1704c9d44d9b43
parentc03c6e8cf6a9118a3d1219ec0cb06b439db54100
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