]> 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:09 +0000 (19:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 9 Jun 2008 19:34:09 +0000 (19:34 +0000)
commitd90b34ff6591b80de159592cce090792d93ca2c1
tree09bf0153dfecc730ad8f579659c14e43cd0fee7d
parent668396e05cf9b21ca2d39b900f088da7127e60b3
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