diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-26 02:46:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-26 02:46:36 +0000 |
commit | 0ee91fdfee4e80dae427ff9a1ecf8917cf3eb65a (patch) | |
tree | bf84c10534f53a264d1285638b1d3d27d95b5d2e /contrib/btree_gist/btree_gist.h | |
parent | 038e45d2cfd4972350024163c36b05fb6cfd474a (diff) | |
download | postgresql-0ee91fdfee4e80dae427ff9a1ecf8917cf3eb65a.tar.gz postgresql-0ee91fdfee4e80dae427ff9a1ecf8917cf3eb65a.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