In ISO datestyle, never emit just HH:MM, always emit HH:MM:SS or
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Jun 2003 21:14:15 +0000 (21:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Jun 2003 21:14:15 +0000 (21:14 +0000)
commit621691d816c45396ab9f8f9486ee9eb2a037795c
tree4b96c2d96bac61e36754b539c2398db4f72a688d
parentd2ba12b4ef39aee8162fa391a353bbb6b4d3c0d0
In ISO datestyle, never emit just HH:MM, always emit HH:MM:SS or
HH:MM:SS.SSS... when there is a nonzero part-of-a-day field in an
interval value.  The seconds part used to be suppressed if zero,
but there's no equivalent behavior for timestamp, and since we're
modeling this format on timestamp it's probably wrong.  Per complaint
and patch from Larry Rosenman.
src/backend/utils/adt/datetime.c
src/test/regress/expected/interval.out