pgsql: Ignore generated columns during apply of update/delete.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Ignore generated columns during apply of update/delete.
Дата
Msg-id E1pfEfh-004wiW-9C@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/be52fff91dc9682386f3371308121c2a5be5922e

Modified Files
--------------
src/backend/executor/execReplication.c |  5 +++--
src/test/subscription/t/100_bugs.pl    | 18 ++++++++++++++----
2 files changed, 17 insertions(+), 6 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: pgsql: Allow logical replication to copy tables in binary format.
Следующее
От: Jeff Davis
Дата:
Сообщение: pgsql: Wrap ICU ucol_open().