Thread: pgsql: Fix overflow for INTERVAL 'x ms' where x is more than a couple

pgsql: Fix overflow for INTERVAL 'x ms' where x is more than a couple

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix overflow for INTERVAL 'x ms' where x is more than a couple million,
and integer datetimes are in use.  Per bug report from Hubert Depesz
Lubaczewski.

Alex Hunsaker

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        datetime.c (r1.160.2.9 -> r1.160.2.10)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c?r1=1.160.2.9&r2=1.160.2.10)