結果 : convert interval to integer postgres