pgsql: Fix datetime input functions to correctly detect integer overflow - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix datetime input functions to correctly detect integer overflow
Date
Msg-id 20080609193441.0F27C75602C@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        datetime.c (r1.118.2.8 -> r1.118.2.9)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c?r1=1.118.2.8&r2=1.118.2.9)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix datetime input functions to correctly detect integer overflow
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Update Japanese FAQ.