Tsvector editing functions
Teodor Sigaev <teodor@sigaev.ru>
Tsvector editing functions Adds several tsvector editting function: convert tsvector to/from text array, set weight for given lexemes, delete lexeme(s), unnest, filter lexemes with given weights Author: Stas Kelvich with some editorization by me Reviewers: Tomas Vondram, Teodor Sigaev
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +89 −2 |
| doc/src/sgml/textsearch.sgml | modified | +4 −0 |
| src/backend/utils/adt/tsvector_op.c | modified | +563 −0 |
| src/include/catalog/pg_proc.h | modified | +16 −2 |
| src/include/tsearch/ts_type.h | modified | +7 −0 |
| src/test/regress/expected/tstypes.out | modified | +209 −12 |
| src/test/regress/sql/tstypes.sql | modified | +45 −2 |