mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +03:00
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
This commit is contained in:
@@ -141,7 +141,14 @@ extern Datum tsvector_cmp(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_length(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_strip(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_setweight(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_setweight_by_filter(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_concat(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_delete_str(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_delete_arr(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_unnest(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_to_array(PG_FUNCTION_ARGS);
|
||||
extern Datum array_to_tsvector(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_filter(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_update_trigger_byid(PG_FUNCTION_ARGS);
|
||||
extern Datum tsvector_update_trigger_bycolumn(PG_FUNCTION_ARGS);
|
||||
|
||||
|
Reference in New Issue
Block a user