BUG #17930: Regression in DISABLE TRIGGER ALL

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #17930: Regression in DISABLE TRIGGER ALL
Дата
Msg-id 17930-73168e744fdf85c0@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #17930: Regression in DISABLE TRIGGER ALL  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG #17930: Regression in DISABLE TRIGGER ALL  (Olivier Chédru <ochedru@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17930
Logged by:          Olivier Chédru
Email address:      ochedru@gmail.com
PostgreSQL version: 15.3
Operating system:   Linux
Description:

Hi!

The following script creates a partition table with a foreign key and works
fine on PostgreSQL 14:

begin;
create table a(id int primary key);
create table b(id int primary key, a_id int not null references a(id))
partition by range(id);
create table b_default(like b including defaults including constraints);
alter table b attach partition b_default default;
alter table b disable trigger all;
commit;

On PostgresSQL 15, it fails on DISABLE TRIGGER ALL:

ERROR:  trigger "RI_ConstraintTrigger_c_20196703" for table "b_default" does
not exist

It seems to use a wrong trigger name. In this case,
RI_ConstraintTrigger_c_20196703 is the name of a trigger defined on the
parent table b.

Thank you.


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

Предыдущее
От: Richard Guo
Дата:
Сообщение: Re: Clause accidentally pushed down ( Possible bug in Making Vars outer-join aware)
Следующее
От: Alexander Lakhin
Дата:
Сообщение: Re: BUG #17884: gist_page_items() crashes for a non-leaf page of an index with non-key columns