Win32 can't catch the exception thrown by INT_MIN / -1 or INT_MIN * -1,
Bruce Momjian <bruce@momjian.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/int.c | modified | +23 −1 |