Gebruik pg_trigger_depth()
functie, die retourneert (zoals vermeld in de documentatie
):
CREATE TRIGGER insert_task
AFTER INSERT ON employees
FOR EACH ROW
WHEN (pg_trigger_depth() = 0)
EXECUTE PROCEDURE insert_task()
Gebruik pg_trigger_depth()
functie, die retourneert (zoals vermeld in de documentatie
):
CREATE TRIGGER insert_task
AFTER INSERT ON employees
FOR EACH ROW
WHEN (pg_trigger_depth() = 0)
EXECUTE PROCEDURE insert_task()