Fix overflow in extract(epoch from interval) for intervals exceeding 68 years.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Sep 2007 15:56:20 +0000 (15:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Sep 2007 15:56:20 +0000 (15:56 +0000)
commit22d98e7934308619abce4a5b85514e69427aaf99
tree402251a3bb613030cc2c44ccbf85a49e4b50d5f8
parente92da1a9d1b1266f867288dc9c270b7729392860
Fix overflow in extract(epoch from interval) for intervals exceeding 68 years.
Seems to have been introduced in 8.1 by careless SECS_PER_DAY
search-and-replace.
src/backend/utils/adt/timestamp.c