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

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

Commit: 977c77759c1d602237896d91d6403e5adc03ffe1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-08-18T21:23:21Z
Releases: 8.4.1
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