OSDN Git Service

Fix overflow for INTERVAL 'x ms' where x is more than a couple million,
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Aug 2009 21:23:14 +0000 (21:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Aug 2009 21:23:14 +0000 (21:23 +0000)
commit3bd2241135d18767cf40fc9a39a4afd4ce3ff3a6
tree9aaddf6680f557ac82d461b6d8175d326057dc11
parente31b35faa5f1971ad847f238b6893fb805b74065
Fix overflow for INTERVAL 'x ms' where x is more than a couple million,
and integer datetimes are in use.  Per bug report from Hubert Depesz
Lubaczewski.

Alex Hunsaker
src/backend/utils/adt/datetime.c
src/include/utils/timestamp.h