Achieving a Consistent Result
To guarantee that the triggering statement returns the same result
with and without the triggered actions, make sure that the triggered
actions in the BEFORE and FOR EACH ROW sections do not modify any
table referenced in the following clauses:
- WHERE clause
- SET clause in the UPDATE statement
- SELECT clause
- EXECUTE PROCEDURE clause or EXECUTE FUNCTION clause in a multiple-row INSERT statement.