DELETING
Indicates if the trigger fired for a DELETE
operation
PSQL — DML triggers only
BOOLEAN
DELETING
Intended for use in multi-action triggers.
if (deleting) then
begin
insert into Removed_Cars (id, make, model, removed)
values (old.id, old.make, old.model, current_timestamp);
end