So this is not inside a trigger but on the app connected to pg?