aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/float.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-02-15 20:16:21 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-02-15 20:16:21 +0000
commitce6e31de9c99430256468d059eb226ea7a267376 (patch)
tree9aaa52d121cf80e3426405f981c0f46dfd14b68f /src/backend/utils/adt/float.c
parent57b5984d241c00bb8362881a14cc566fbb4869e3 (diff)
downloadpostgresql-ce6e31de9c99430256468d059eb226ea7a267376.tar.gz
postgresql-ce6e31de9c99430256468d059eb226ea7a267376.zip
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/backend/utils/adt/float.c')
0 files changed, 0 insertions, 0 deletions