pub fn adjust_timestamp(ts: i64, typmod: i32) -> Result<i64, TypeError>
AdjustTimestampForTypmod: the timestamp rounded to the precision of the typmod.
AdjustTimestampForTypmod