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

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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/751d6676daf3413f7c0fbc83860238d02114dbcd

Modified Files
--------------
src/backend/executor/execReplication.c | 10 ++++--
src/test/subscription/t/100_bugs.pl    | 56 +++++++++++++++++++++++++++++++++-
2 files changed, 63 insertions(+), 3 deletions(-)


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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: pgsql: Fix race in parallel hash join batch cleanup, take II.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: pg_waldump: Allow hexadecimal values for -t/--timeline option