getting ERROR "relation 16401 has no triggers" with partition foreignkey alter

Поиск
Список
Период
Сортировка
От Rajkumar Raghuwanshi
Тема getting ERROR "relation 16401 has no triggers" with partition foreignkey alter
Дата
Msg-id CAKcux6nZiO9-eEpr1ZD84bT1mBoVmeZkfont8iSpcmYrjhGWgA@mail.gmail.com
обсуждение исходный текст
Ответы Re: getting ERROR "relation 16401 has no triggers" with partitionforeign key alter  (Michael Paquier <michael@paquier.xyz>)
Re: getting ERROR "relation 16401 has no triggers" with partition foreign key alter  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

I am getting ERROR:  relation 16401 has no triggers error while executing below query.

postgres=# create table tbl1(f1 int primary key);
CREATE TABLE
postgres=# create table tbl2(f1 int references tbl1 deferrable initially deferred) partition by range(f1);
CREATE TABLE
postgres=# create table tbl2_p1 partition of tbl2 for values from (minvalue) to (maxvalue);
CREATE TABLE
postgres=# insert into tbl1 values(1);
INSERT 0 1
postgres=# begin;
BEGIN
postgres=# insert into tbl2 values(1);
INSERT 0 1
postgres=# alter table tbl2 drop constraint tbl2_f1_fkey;
ALTER TABLE
postgres=# commit;
ERROR:  relation 16395 has no triggers

Thanks & Regards,
Rajkumar Raghuwanshi
QMG, EnterpriseDB Corporation

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: refactoring - share str2*int64 functions
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: A little report on informal commit tag usage