diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-26 02:46:25 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-26 02:46:25 +0000 |
commit | 0aed62fea91a67a3149c3ed21e2f03f838a1cdd9 (patch) | |
tree | 1cfc4980519cde8b13cceebc6832ae944ffe1e0d /src/test | |
parent | aa0fb53016d460b0edd053bda6ec58d99c3d473f (diff) | |
download | postgresql-0aed62fea91a67a3149c3ed21e2f03f838a1cdd9.tar.gz postgresql-0aed62fea91a67a3149c3ed21e2f03f838a1cdd9.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 'src/test')
0 files changed, 0 insertions, 0 deletions