-
- Downloads
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
Showing
- doc/src/sgml/catalogs.sgml 5 additions, 3 deletionsdoc/src/sgml/catalogs.sgml
- src/backend/catalog/system_views.sql 25 additions, 25 deletionssrc/backend/catalog/system_views.sql
- src/backend/tsearch/Makefile 2 additions, 2 deletionssrc/backend/tsearch/Makefile
- src/backend/tsearch/ts_typanalyze.c 403 additions, 0 deletionssrc/backend/tsearch/ts_typanalyze.c
- src/include/catalog/catversion.h 2 additions, 2 deletionssrc/include/catalog/catversion.h
- src/include/catalog/pg_operator.h 2 additions, 1 deletionsrc/include/catalog/pg_operator.h
- src/include/catalog/pg_proc.h 4 additions, 1 deletionsrc/include/catalog/pg_proc.h
- src/include/catalog/pg_statistic.h 16 additions, 1 deletionsrc/include/catalog/pg_statistic.h
- src/include/catalog/pg_type.h 2 additions, 2 deletionssrc/include/catalog/pg_type.h
- src/include/tsearch/ts_type.h 3 additions, 1 deletionsrc/include/tsearch/ts_type.h
- src/test/regress/expected/rules.out 3 additions, 3 deletionssrc/test/regress/expected/rules.out
Loading
Please register or sign in to comment