diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-11-26 14:27:05 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-11-26 14:27:05 -0500 |
commit | 5966bcecf6167f2921e614e66499fa4d2c195c64 (patch) | |
tree | fe3a5ec175c39f1284b386069bf5f6559a7d9592 /src/backend/access/gist/gistutil.c | |
parent | 6c8768c3861d6690656b74676c44ffa63c0e4ef7 (diff) | |
download | postgresql-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/gistutil.c')
0 files changed, 0 insertions, 0 deletions