OSDN Git Service

Properly round months into days and into seconds for interval
authorBruce Momjian <bruce@momjian.us>
Sun, 3 Sep 2006 03:34:04 +0000 (03:34 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 3 Sep 2006 03:34:04 +0000 (03:34 +0000)
commitfc51c9186a095581beb40d0a46ee13ffb1f99211
tree86673421343e6b92d965cbdf6c8d86a9430efbf7
parent5120f88c88517d52d7ab3a80ca2eddd5754180a1
Properly round months into days and into seconds for interval
multiplication/division queries like select '41 mon 10:00:00'::interval
/ 10 as "pos".

Report from Michael Glaesemann
src/backend/utils/adt/timestamp.c
src/test/regress/expected/interval.out