結果 : postgres function check if row exists