Tom Lane 547bb4a7f2 Use a hopefully-more-reliable method of detecting default selectivity
estimates when combining the estimates for a range query.  As pointed out
by Miquel van Smoorenburg, the existing check for an impossible combined
result would quite possibly fail to detect one default and one non-default
input.  It seems better to use the default range query estimate in such
cases.  To do so, add a check for an estimate of exactly DEFAULT_INEQ_SEL.
This is a bit ugly because it introduces additional coupling between
clauselist_selectivity and scalarltsel/scalargtsel, but it's not like
there wasn't plenty already...
2004-11-09 00:34:46 +00:00
..
2004-08-29 05:07:03 +00:00
2004-08-29 05:07:03 +00:00
2004-08-29 05:07:03 +00:00
2004-08-29 05:07:03 +00:00
2004-08-29 04:13:13 +00:00
2004-08-29 05:07:03 +00:00
2004-08-29 04:13:13 +00:00
2004-08-29 05:07:03 +00:00
2004-08-29 04:13:13 +00:00
2004-08-29 04:13:13 +00:00
2004-08-29 04:13:13 +00:00
2004-08-29 04:13:13 +00:00
2004-08-29 05:07:03 +00:00
2004-10-12 21:54:45 +00:00
2004-08-29 04:13:13 +00:00
2004-08-29 05:07:03 +00:00
2004-08-29 05:07:03 +00:00
2004-08-29 04:13:13 +00:00
2004-08-29 04:13:13 +00:00
2004-08-29 04:13:13 +00:00
2004-08-29 05:07:03 +00:00
2004-08-29 05:07:03 +00:00
2004-08-29 05:07:03 +00:00
2004-08-29 05:07:03 +00:00
2003-11-29 19:52:15 +00:00