• Bruce Momjian's avatar
    Fix to_char(interval) to return proper year and century values. · e2026112
    Bruce Momjian authored
    Fix to_char(interval) to return large year/month/day/hour values that
    are larger than possible timestamp values.
    Prevent to_char(interval) format specifications that make no sense, like
    Month.
    Clean up formatting.c code to more logically handle return lengths.
    e2026112
formatting.c 103 KB