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

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

Commit: 2e78dc85e0b3f0a65c58905a65279f6ab18da36e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-08-18T21:23:58Z
Releases: 7.4.26
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