結果 : compare two dates postgresql