Detect arithmetic overflow (poorly) in insert_time(), which diagnoses