Add more tests with triggers on partitions for logical replication
authorMichael Paquier <michael@paquier.xyz>
Mon, 26 Apr 2021 06:22:48 +0000 (15:22 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 26 Apr 2021 06:22:48 +0000 (15:22 +0900)
commit2ecfeda3e916f2a1123f818018d9d35908a499ac
treee128c4924100f2f68103d3b4dfea1f11cc41fee9
parentf25a4584c6f56f3407f8f8734c78f2a87e4b77e8
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
src/test/subscription/t/013_partition.pl