Create a type-specific typanalyze routine for tsvector, which collects stats

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6f6d8632583353d60fe3bb1694b39f6124f6e5d1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-07-14T00:51:46Z
Releases: 8.4.0
Create a type-specific typanalyze routine for tsvector, which collects stats
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

Files