pub fn format_interval(months: i32, days: i32, micros: i64) -> StringExpand description
Render an Interval { months, days, micros } in a PG-ish shape.
The output mirrors psql’s text format: years/months from the
months part, days from its own dimension (no carry from micros —
this is the PG-canonical separation so '1 day' ≠ '24 hours'),
HH:MM:SS[.frac] from micros. v7.37.5 β added the days parameter
for PG byte-equal; micros may still carry hours ≥ 24 (PG keeps
the unnormalised form on the wire).