Re: Segfault when creating partition with a primary key and sql_drop trigger exists

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Marco Slot <marco(at)citusdata(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Onder Kalaci <onder(at)citusdata(dot)com>
Subject: Re: Segfault when creating partition with a primary key and sql_drop trigger exists
Date: 2018-09-24 15:58:09
Message-ID: 20180924155809.kjhpgl32ryrd2o4l@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-09-24 16:02:35 Re: Revoke execution permission of pg_stat_statements_reset() from pg_read_all_stats role
Previous Message Alvaro Herrera 2018-09-24 15:57:12 Re: Multiple primary key on partition table?