Skip site navigation (1) Skip section navigation (2)

pgsql: Fix datetime input functions to correctly detect integer overflow

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix datetime input functions to correctly detect integer overflow
Date: 2008-06-09 19:34:03
Message-ID: 20080609193403.08D3975602C@cvs.postgresql.org (view raw or flat)
Thread:
Lists: 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.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        datetime.c (r1.189 -> r1.190)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c?r1=1.189&r2=1.190)

pgsql-committers by date

Next:From: Tom LaneDate: 2008-06-09 19:34:09
Subject: pgsql: Fix datetime input functions to correctly detect integer overflow
Previous:From: Neil ConwayDate: 2008-06-09 18:32:23
Subject: Re: pgsql: Fix typo in comment.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group