How Triggers Are Affected
If you rename a column that appears within the definition a trigger,
it is replaced with the new name only in the following instances:
- When it appears as part of a correlation name inside the FOR EACH ROW action clause of a trigger
- When it appears as part of a correlation name in the INTO clause of an EXECUTE FUNCTION (or EXECUTE PROCEDURE) statement
- When it appears as a triggering column in the UPDATE clause
When the trigger executes, if the database server encounters a column name that no longer exists in the table, an error is returned.