結果 : postgresql trigger function check if insert or update