https://github.com/postgres/postgres
Revision f051b87ace6dda42c191b77858c8d099af0de46a authored by John Naylor on 30 July 2021, 17:50:23 UTC, committed by John Naylor on 30 July 2021, 20:28:43 UTC
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
1 parent 99da905
History
Tip revision: f051b87ace6dda42c191b77858c8d099af0de46a authored by John Naylor on 30 July 2021, 17:50:23 UTC
Fix range check in ECPG numeric to int conversion
Tip revision: f051b87
File Mode Size
config
contrib
doc
src
.dir-locals.el -rw-r--r-- 730 bytes
.editorconfig -rw-r--r-- 183 bytes
.git-blame-ignore-revs -rw-r--r-- 8.6 KB
.gitattributes -rw-r--r-- 1.5 KB
.gitignore -rw-r--r-- 504 bytes
COPYRIGHT -rw-r--r-- 1.2 KB
GNUmakefile.in -rw-r--r-- 4.2 KB
HISTORY -rw-r--r-- 277 bytes
Makefile -rw-r--r-- 1.6 KB
README -rw-r--r-- 1.2 KB
README.git -rw-r--r-- 721 bytes
aclocal.m4 -rw-r--r-- 490 bytes
configure -rwxr-xr-x 567.2 KB
configure.ac -rw-r--r-- 81.3 KB

README

back to top