summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2007-09-19 22:31:48 +0000
committerNeil Conway <neilc@samurai.com>2007-09-19 22:31:48 +0000
commitbbf4fdc2538097bb3103806e1419ceef1f289203 (patch)
treea965f57699c4eb681d5c4fad8a09df96b78e18b5 /src/backend/access/gist/gist.c
parent4893eadc3ce58bb0793bd2cadd2e67f91c126a06 (diff)
downloadpostgresql-bbf4fdc2538097bb3103806e1419ceef1f289203.tar.gz
Prevent corr() from returning the wrong results for negative correlation
values. The previous coding essentially assumed that x = sqrt(x*x), which does not hold for x < 0. Thanks to Jie Zhang at Greenplum and Gavin Sherry for reporting this issue.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions