aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorJohn Naylor <john.naylor@postgresql.org>2021-07-30 13:50:23 -0400
committerJohn Naylor <john.naylor@postgresql.org>2021-07-30 15:39:22 -0400
commit5fcf3945bd90bb0170938ad780159779367dc8ac (patch)
treef80fe11c3a557d6479fd2930ba3cb008dc4d0c36 /src/backend/access/transam/commit_ts.c
parent3dddb2a8219d3cfd163a83561d4b4613cd2ea376 (diff)
downloadpostgresql-5fcf3945bd90bb0170938ad780159779367dc8ac.tar.gz
postgresql-5fcf3945bd90bb0170938ad780159779367dc8ac.zip
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/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions