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.
Branch
------
REL8_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/cf678140548b0f0fdef36f314bb84e07e15b8c16
Modified Files
--------------
src/backend/utils/adt/timestamp.c | 5 +++--
src/interfaces/ecpg/pgtypeslib/timestamp.c | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.