aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-03-12 19:32:06 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-03-12 19:32:06 +0000
commit1879175b18211962984e6ff0f3cba344c386b11c (patch)
tree9673b9922dc4229839ccf6ab46f127caf535aaad /src/backend/access/gist/gist.c
parentef3386affebb641bf84a528fc2b62530577c10e8 (diff)
downloadpostgresql-1879175b18211962984e6ff0f3cba344c386b11c.tar.gz
postgresql-1879175b18211962984e6ff0f3cba344c386b11c.zip
Fix performance bug in constant-expression simplifier. After finding
that the inputs to a given operator can be recursively simplified to constants, it was evaluating the operator using the op's *original* (unsimplified) arg list, so that any subexpressions had to be evaluated again. A constant subexpression at depth N got evaluated N times. Probably not very important in practical situations, but it made us look real slow in MySQL's 'crashme' test...
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions