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

Поиск
Список
Период
Сортировка
От Dmitry Dolgov
Тема Re: Segfault when creating partition with a primary key and sql_droptrigger exists
Дата
Msg-id CA+q6zcX9F8qDEuhToQhorYkZtqCm+Z+qR=PaFrsvJ9EOg2eLPA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Segfault when creating partition with a primary key and sql_droptrigger exists  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Segfault when creating partition with a primary key and sql_droptrigger exists  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
> On Mon, 24 Sep 2018 at 17:58, Alvaro Herrera <alvherre@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.

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Iwata, Aya"
Дата:
Сообщение: RE: libpq debug log
Следующее
От: Arthur Zakirov
Дата:
Сообщение: Re: PATCH: Update snowball stemmers