]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix overflow check in tm2timestamp (this time for sure).
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Mar 2013 20:13:31 +0000 (15:13 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Mar 2013 20:14:13 +0000 (15:14 -0500)
commitda5f032a8350a77aeed4f9d459633055f0adb645
tree77787cbd2c344da166737e9f159953daccb5d83a
parentffc9daf90549c4412c2ffd82532eb84ca17f5e14
Fix overflow check in tm2timestamp (this time for sure).

I fixed this code back in commit 841b4a2d5, but didn't think carefully
enough about the behavior near zero, which meant it improperly rejected
1999-12-31 24:00:00.  Per report from Magnus Hagander.
src/backend/utils/adt/timestamp.c
src/interfaces/ecpg/pgtypeslib/timestamp.c