Fix datetime input functions to correctly detect integer overflow when
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 9 Jun 2008 19:34:31 +0000 (19:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 9 Jun 2008 19:34:31 +0000 (19:34 +0000)
commit067eb9f2a776f1753093bc37424ba1392df00948
tree76a3abe7e92bc6dd704c2f5b4a150ce6044b16df
parent16fbd254715b8c24049e15048c34257a4fafd069
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