> On Mon, 24 Sep 2018 at 17:58, Alvaro Herrera <alvhe...@2ndquadrant.com> wrote: > > On 2018-Sep-20, Marco Slot wrote: > > > We're seeing a segmentation fault when creating a partition of a > > partitioned table with a primary key when there is a sql_drop trigger on > > Postgres 11beta4. > > > > We discovered it because the Citus extension creates a sql_drop trigger, > > but it's otherwise unrelated to the Citus extension: > > https://github.com/citusdata/citus/issues/2390 > > Thanks for the reproducer. Will research.
Shouldn't it be fixed by adding EventTriggerAlterTableStart? Judging from the following call of ATController, we can just pass NULL as parsetree.
sql_drop_on_partition.patch
Description: Binary data