]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Repair inconsistent rounding behavior for timestamp, time, interval,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jan 2003 01:07:18 +0000 (01:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jan 2003 01:07:18 +0000 (01:07 +0000)
commit9ecfdbcae12547bfb24d2387d70e24072aab6849
treeb3512d909fe6a353baee9d3c6f26d4928f4bf746
parent9260e79d11935a6a5f9255eb998625ca38b9b0c7
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