pgsql: Have logical replication subscriber fire column triggers

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Have logical replication subscriber fire column triggers
Дата
Msg-id E1ioPms-00082j-NM@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Have logical replication subscriber fire column triggers

The logical replication apply worker did not fire per-column update
triggers because the updatedCols bitmap in the RTE was not populated.
This fixes that.

Reviewed-by: Euler Taveira <euler@timbira.com.br>
Discussion: https://www.postgresql.org/message-id/flat/21673e2d-597c-6afe-637e-e8b10425b240%402ndquadrant.com

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8c2bfd9f9b5da06a60ef7d46565bff2eaf5ceb2c

Modified Files
--------------
src/backend/replication/logical/worker.c   | 16 +++++++++++++++
src/test/subscription/t/003_constraints.pl | 32 ++++++++++++++++++++++++++----
2 files changed, 44 insertions(+), 4 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Have logical replication subscriber fire column triggers
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Add functions min_scale(numeric) and trim_scale(numeric).