Re: Syntax on BEFORE Trigger - Cascade? - Mailing list pgsql-general

From Tom Lane
Subject Re: Syntax on BEFORE Trigger - Cascade?
Date
Msg-id 1792892.1718288587@sss.pgh.pa.us
Whole thread Raw
In response to Syntax on BEFORE Trigger - Cascade?  (David Barbour <dbarbour@istation.com>)
List 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 by date:

Previous
From: David Barbour
Date:
Subject: Syntax on BEFORE Trigger - Cascade?
Next
From: "David G. Johnston"
Date:
Subject: Re: Syntax on BEFORE Trigger - Cascade?