Fix datetime input functions to correctly detect integer overflow when
authorTom Lane <[email protected]>
Mon, 9 Jun 2008 19:34:16 +0000 (19:34 +0000)
committerTom Lane <[email protected]>
Mon, 9 Jun 2008 19:34:16 +0000 (19:34 +0000)
commit6644d1df693f53d932e24b4ea4a79a905afdba6d
tree6b61b62f1aaa1691266596b841cbd3e4861c8423
parent252a7f2ac0fd0d042e9562526de7879a34f5ace2
Fix datetime input functions to correctly detect integer overflow when
running on a 64-bit platform ... strtol() will happily return 64-bit
output in that case.  Per bug #4231 from Geoff Tolley.
src/backend/utils/adt/datetime.c