aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-11-26 14:27:05 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-11-26 14:27:05 -0500
commit5966bcecf6167f2921e614e66499fa4d2c195c64 (patch)
treefe3a5ec175c39f1284b386069bf5f6559a7d9592 /src/backend/access/gist
parent6c8768c3861d6690656b74676c44ffa63c0e4ef7 (diff)
downloadpostgresql-5966bcecf6167f2921e614e66499fa4d2c195c64.tar.gz
postgresql-5966bcecf6167f2921e614e66499fa4d2c195c64.zip
Make GiST index searches smarter about queries against empty ranges.
In the cases where the result of the called proc is negated, we should explicitly test both inputs for empty, to ensure we'll never return "true" for an unsatisfiable query. In other cases we can rely on the called proc to say the right thing.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions