pgsql: Win32 can't catch the exception thrown by INT_MIN / -1 or INT_MIN - Mailing list pgsql-committers

From momjian@postgresql.org (Bruce Momjian)
Subject pgsql: Win32 can't catch the exception thrown by INT_MIN / -1 or INT_MIN
Date
Msg-id 20060612160911.6CC4D9FA5C8@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Win32 can't catch the exception thrown by INT_MIN / -1 or INT_MIN * -1,
so on that platform we test for those before the computation and throw
an "out of range" error.

Backpatch to 8.1.X.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        int.c (r1.72 -> r1.73)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/int.c.diff?r1=1.72&r2=1.73)

pgsql-committers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: psqlodbc - psqlodbc: The version is now 8.2.0005.
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Win32 can't catch the exception thrown by INT_MIN / -1 or INT_MIN