git.postgresql.org Git - postgresql.git/commit
2006年9月20日 19:50:21 +0000 (19:50 +0000)
2006年9月20日 19:50:21 +0000 (19:50 +0000)
commit bfd1ffa948e676f0587239a36e71f15690ef2cde
Change patternsel (LIKE/regex selectivity estimation) so that if there
is a large enough histogram, it will use the number of matches in the
histogram to derive a selectivity estimate, rather than the admittedly
pretty bogus heuristics involving examining the pattern contents. I set
'large enough' at 100, but perhaps we should change that later. Also
apply the same technique in contrib/ltree's <@ and @> estimator. Per
discussion with Stefan Kaltenbrunner and Matteo Beccati.
This is the main PostgreSQL git repository.
RSS
Atom