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>
Re: Syntax on BEFORE Trigger - Cascade? Tom Lane <tgl@sss.pgh.pa.us>
Re: Syntax on BEFORE Trigger - Cascade? "David G. Johnston" <david.g.johnston@gmail.com>
David Barbour  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
Дата:
От: David G. Johnston
Дата:
FAQ