diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-02-15 20:16:21 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-02-15 20:16:21 +0000 |
| commit | ce6e31de9c99430256468d059eb226ea7a267376 (patch) | |
| tree | 9aaa52d121cf80e3426405f981c0f46dfd14b68f /src/interfaces/ecpg/test/sql/code100.pgc | |
| parent | 57b5984d241c00bb8362881a14cc566fbb4869e3 (diff) | |
Teach the planner to treat a partial unique index as proving a variable is
unique for a particular query, if the index predicate is satisfied. This
requires a bit of reordering of operations so that we check the predicates
before doing any selectivity estimates, but shouldn't really cause any
noticeable slowdown. Per a comment from Michal Politowski.
Diffstat (limited to 'src/interfaces/ecpg/test/sql/code100.pgc')
0 files changed, 0 insertions, 0 deletions
