]> granicus.if.org Git - postgresql/commit
Fix datetime input functions to correctly detect integer overflow when
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 9 Jun 2008 19:34:24 +0000 (19:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 9 Jun 2008 19:34:24 +0000 (19:34 +0000)
commit562755ec15e9c7009f1af78b75c642b40309039d
tree0ba424a621a7afe4c8d5636dae201d9e9832ab5d
parent2de08aab3be88a4fe8d8ce7de61bdd1063535b85
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