Ignore generated columns during apply of update/delete.
authorAmit Kapila <[email protected]>
Thu, 23 Mar 2023 06:28:36 +0000 (11:58 +0530)
committerAmit Kapila <[email protected]>
Thu, 23 Mar 2023 06:28:36 +0000 (11:58 +0530)
commitadedf54e659ea37316a21c8d5a7aa8f711213d1c
treed160d7487a219d68e86f5624d07e893b74f9128f
parentecb696527c01908d54b7a7aa2bd9179585b46459
Ignore generated columns during apply of update/delete.

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

Author: Onder Kalaci
Reviewed-by: Shi yu, Amit Kapila
Back-through: 12
Discussion: https://postgr.es/m/CACawEhVQC9WoofunvXg12aXtbqKnEgWxoRx3+v8q32AWYsdpGg@mail.gmail.com
src/backend/executor/execReplication.c
src/test/subscription/t/100_bugs.pl