Thread: pgsql-server/src include/utils/datetime.h inte ...

pgsql-server/src include/utils/datetime.h inte ...

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/07/17 19:28:42

Modified files:
    src/include/utils: datetime.h
    src/interfaces/ecpg/pgtypeslib: dt.h

Log message:
    Add an upper limit to IS_VALID_JULIAN() to defend against overflow in
    date2j().  This ensures we give reasonable errors instead of bizarre
    behavior for input dates far in the future.