• Tom Lane's avatar
    Create a type-specific typanalyze routine for tsvector, which collects stats · 6f6d8632
    Tom Lane authored
    on the most common individual lexemes in place of the mostly-useless default
    behavior of counting duplicate tsvectors.  Future work: create selectivity
    estimation functions that actually do something with these stats.
    
    (Some other things we ought to look at doing: using the Lossy Counting
    algorithm in compute_minimal_stats, and using the element-counting idea for
    stats on regular arrays.)
    
    Jan Urbanski
    6f6d8632
ts_typanalyze.c 11.9 KB