aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-14 14:21:23 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-14 14:21:23 +0000
commitd9de1bb47a234a322e66cbefa4ae645fe4622545 (patch)
tree2f0c347e547dc443ad24e3ca26554b3258bcd042 /src/backend/access/gist
parent8bedb71888a2f08ced7e017f090775eb2746eed4 (diff)
downloadpostgresql-d9de1bb47a234a322e66cbefa4ae645fe4622545.tar.gz
postgresql-d9de1bb47a234a322e66cbefa4ae645fe4622545.zip
The random selection in function linear() could deliver a value equal to max
if geqo_rand() returns exactly 1.0, resulting in failure due to indexing off the end of the pool array. Also, since this is using inexact float math, it seems wise to guard against roundoff error producing values slightly outside the expected range. Per report from bug@zedware.org.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions