Ignore generated columns during apply of update/delete.
Amit Kapila <akapila@postgresql.org>
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 Backpatch-through: 12 Discussion: https://postgr.es/m/CACawEhVQC9WoofunvXg12aXtbqKnEgWxoRx3+v8q32AWYsdpGg@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execReplication.c | modified | +3 −2 |
| src/test/subscription/t/100_bugs.pl | modified | +14 −4 |
Discussion
- Dropped and generated columns might cause wrong data on subs when REPLICA IDENTITY FULL 23 messages · 2023-03-11 → 2023-03-23