Trigger: what rows were deleted? - Mailing list pgsql-general

From Ciprian Popovici
Subject Trigger: what rows were deleted?
Date
Msg-id 1103291628.41c2e4ec382b1@imp.online.net
Whole thread Raw
List pgsql-general
I'm trying to make a trigger, fired by DELETE. The associated function
needs to know what rows were deleted in order to perform a DELETE in
another table as well. (Foreign keys are not acceptable.) I don't seem
to be able to find this kind of info being passed to the function. The
special vars don't seem to have something useful. The arguments to the
trigger could help, but can they be made dynamical? Is there any way
of identifying the affected rows?

--
Ciprian Popovici

pgsql-general by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: analyze-error: "cannot compare arrays of different element types" revisited
Next
From: Ciprian Popovici
Date:
Subject: Re: Trigger: what rows were deleted?