Re: Syntax on BEFORE Trigger - Cascade?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Syntax on BEFORE Trigger - Cascade?
Дата
Msg-id 1792892.1718288587@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Syntax on BEFORE Trigger - Cascade?  (David Barbour <dbarbour@istation.com>)
Список pgsql-general
David Barbour <dbarbour@istation.com> writes:
> The files are appropriately deleted in Oracle, but Postgres is returning
> the following:
> *ERROR: Attempt to suppress referential action with before trigger.
> CONTEXT: SQL statement "DELETE FROM ONLY "idev"."import_file" WHERE $1
> OPERATOR(pg_catalog.=) "import_job_oid"" *

I don't know what you're running there, but there is no such error
message in community Postgres.  Having said that, maybe what you
need is to *not* have any before trigger applied to the import_file
table.

            regards, tom lane



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

Предыдущее
От: David Barbour
Дата:
Сообщение: Syntax on BEFORE Trigger - Cascade?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Syntax on BEFORE Trigger - Cascade?