Re: Error for row-level triggers with transition tables on partitioned tables

2022-11-04 Thread Etsuro Fujita
On Thu, Nov 3, 2022 at 2:20 AM Tom Lane wrote: > Etsuro Fujita writes: > > We do not currently allow row-level triggers on partitions to have > > transition tables either, and the error message for that is “ROW > > triggers with transition tables are not supported on partitions.”. > > How about c

Re: Error for row-level triggers with transition tables on partitioned tables

2022-11-02 Thread Tom Lane
Etsuro Fujita writes: > We do not currently allow row-level triggers on partitions to have > transition tables either, and the error message for that is “ROW > triggers with transition tables are not supported on partitions.”. > How about changing the DETAIL message to something similar to this >

Error for row-level triggers with transition tables on partitioned tables

2022-10-31 Thread Etsuro Fujita
While working on something else, I noticed $SUBJECT: we do not currently allow row-level triggers on partitioned tables to have transition tables like this: create table parted_trig (a int) partition by list (a); CREATE TABLE create function trigger_nothing() returns trigger language plpgsql as $$