Обсуждение: pgsql: Add more tests with triggers on partitions for logical replicati

Поиск
Список
Период
Сортировка

pgsql: Add more tests with triggers on partitions for logical replicati

От
Michael Paquier
Дата:
Add more tests with triggers on partitions for logical replication

The tuple routing logic used by a logical replication worker can fire
triggers on relations part of a partition tree, but there was no test
coverage in this area.  The existing script 003_constraints.pl included
something, but nothing when a tuple is applied across partitioned tables
on a subscriber.

Author: Amit Langote
Discussion: https://postgr.es/m/OS0PR01MB611383FA0FE92EB9DE21946AFB769@OS0PR01MB6113.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2ecfeda3e916f2a1123f818018d9d35908a499ac

Modified Files
--------------
src/test/subscription/t/013_partition.pl | 91 +++++++++++++++++++++++++++++++-
1 file changed, 90 insertions(+), 1 deletion(-)