結果 : postgres function case statement