aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-01-04 03:51:52 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-01-04 03:51:52 +0000
commit82b4dd394f50f75a34d3ddc1c7d54b8d8fcace33 (patch)
tree1fb959074c117f48b987a77e7632ec6bbcc583da /src/backend/access/gist/gist.c
parent21a12022818b6ac418d7a1544e92f8b13d61cc91 (diff)
downloadpostgresql-82b4dd394f50f75a34d3ddc1c7d54b8d8fcace33.tar.gz
postgresql-82b4dd394f50f75a34d3ddc1c7d54b8d8fcace33.zip
Merge restrictlist_selectivity into clauselist_selectivity by
teaching the latter to accept either RestrictInfo nodes or bare clause expressions; and cache the selectivity result in the RestrictInfo node when possible. This extends the caching behavior of approx_selectivity to many more contexts, and should reduce duplicate selectivity calculations.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions