]> 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:20:23 +0000 (08:50 +0530)
committerAmit Kapila <akapila@postgresql.org>
Tue, 21 Mar 2023 03:20:23 +0000 (08:50 +0530)
commitfc63e6ba8670e0eb1bc40ae9fe4acdd4203bc36e
treea1a9a4a823b09de0ee2f968cd36af98200765350
parent44d44aa9712f315b125c9c5f2a1640ebb70e1d2f
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