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