Repair inconsistent rounding behavior for timestamp, time, interval,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jan 2003 01:06:57 +0000 (01:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jan 2003 01:06:57 +0000 (01:06 +0000)
commitfb715e05f54b117572d9298c3869629a12d6f7b7
tree5f0a2c1d697d14ac620cf19a9956fd6ed0220d40
parent2cd00f0bac9a03367e211e93a25953cd72272bd0
Repair inconsistent rounding behavior for timestamp, time, interval,
per gripe from Csaba Nagy.  There is still potential for platform-specific
behavior for values that are exactly halfway between integers, but at
least we now get the expected answer for all other cases.
src/backend/utils/adt/date.c
src/backend/utils/adt/timestamp.c