Fix overflow for INTERVAL 'x ms' where x is more than a couple million,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 3bd2241135d18767cf40fc9a39a4afd4ce3ff3a6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-08-18T21:23:14Z
Releases: 9.0.0
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

Files

PathChange+/−
src/backend/utils/adt/datetime.c modified +4 −1
src/include/utils/timestamp.h modified +3 −1