Re: getting ERROR "relation 16401 has no triggers" with partition foreign key alter

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: getting ERROR "relation 16401 has no triggers" with partition foreign key alter
Дата
Msg-id 7493.1563285592@sss.pgh.pa.us
обсуждение исходный текст
Ответ на getting ERROR "relation 16401 has no triggers" with partition foreignkey alter  (Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com>)
Ответы Re: getting ERROR "relation 16401 has no triggers" with partitionforeign key alter  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com> writes:
> I am getting ERROR:  relation 16401 has no triggers error while executing
> below query.

Yeah, I can reproduce that back to v11.  If you try the same scenario
with a non-partitioned table you get

ERROR:  55006: cannot ALTER TABLE "tbl2" because it has pending trigger events
LOCATION:  CheckTableNotInUse, tablecmds.c:3436

but that test evidently fails to detect pending events for a partition
child table.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: refactoring - share str2*int64 functions
Следующее
От: Nikita Glukhov
Дата:
Сообщение: Re: SQL/JSON: functions