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