Fix datetime input functions to correctly detect integer overflow when
commita0be2b773b01c3cf41c0a5f1acfbff538fa01cf5
authortgl <tgl>
Mon, 9 Jun 2008 19:34:02 +0000 (9 19:34 +0000)
committertgl <tgl>
Mon, 9 Jun 2008 19:34:02 +0000 (9 19:34 +0000)
treecb80b97e561748fee762f5e1b5adbda747939e7d
parent3f8c052aec6a384d02909b3286647e9b1c275861
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