diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-26 02:46:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-26 02:46:30 +0000 |
commit | 1d18f940a3757489e0e4873477f9c6ae2b5bc3e1 (patch) | |
tree | c35133a0fa8555895c5de1ab386f39945162d8f2 /contrib/btree_gist/btree_gist.h | |
parent | 6571729d5490d12505ab5b6f180f15fe593c3105 (diff) | |
download | postgresql-1d18f940a3757489e0e4873477f9c6ae2b5bc3e1.tar.gz postgresql-1d18f940a3757489e0e4873477f9c6ae2b5bc3e1.zip |
Better solution to the IN-list issue: instead of having an arbitrary cutoff,
treat Var and non-Var IN-list items differently. Only non-Var items are
candidates to go into an ANY(ARRAY) construct --- we put all Vars as separate
OR conditions on the grounds that that leaves more scope for optimization.
Per suggestion from Robert Haas.
Diffstat (limited to 'contrib/btree_gist/btree_gist.h')
0 files changed, 0 insertions, 0 deletions