Postgres Create Trigger Execute Function Python Code