diff options
author | John Naylor <john.naylor@postgresql.org> | 2021-07-30 13:50:23 -0400 |
---|---|---|
committer | John Naylor <john.naylor@postgresql.org> | 2021-07-30 16:40:42 -0400 |
commit | 231c19a8987a88b0e6c774fdea6ea7fda33e691a (patch) | |
tree | 3e3647c154d646817cf6c4544220e3d4f0e1f234 /src/backend/executor/nodeSetOp.c | |
parent | 25fe5b2bb5fa35dfa05cb159216f3059540ba928 (diff) |
Fix range check in ECPG numeric to int conversion
The previous coding guarded against -INT_MAX instead of INT_MIN,
leading to -2147483648 being rejected as out of range.
Per bug #17128 from Kevin Sweet
Discussion: https://www.postgresql.org/message-id/flat/17128-55a8a879727a3e3a%40postgresql.org
Reviewed-by: Tom Lane
Backpatch to all supported branches
Diffstat (limited to 'src/backend/executor/nodeSetOp.c')
0 files changed, 0 insertions, 0 deletions