Postgres Trigger Max Stack Problem Leetcode 1508