aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorDean Rasheed <dean.a.rasheed@gmail.com>2023-10-29 15:46:04 +0000
committerDean Rasheed <dean.a.rasheed@gmail.com>2023-10-29 15:51:53 +0000
commitb2d55447a563036579d6777f64a7483dceeab6ea (patch)
tree4bb29b19a118c7fac9a02d57ec080b3e87e066b6 /src/backend/access/gist
parent849172ff4883d44168f96f39d3fde96d0aa34c99 (diff)
downloadpostgresql-b2d55447a563036579d6777f64a7483dceeab6ea.tar.gz
postgresql-b2d55447a563036579d6777f64a7483dceeab6ea.zip
Guard against overflow in make_interval().
The original code did very little to guard against integer or floating point overflow when computing the interval's fields. Detect any such overflows and error out, rather than silently returning bogus results. Joseph Koshakow, reviewed by Ashutosh Bapat and me. Discussion: https://postgr.es/m/CAAvxfHcm1TPwH_zaGWuFoL8pZBestbRZTU6Z%3D-RvAdSXTPbKfg%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions