Tsvector editing functions - Mailing list pgsql-hackers

From Stas Kelvich
Subject Tsvector editing functions
Date
Msg-id DBD45805-968D-48B1-992A-79F8AC7D3140@postgrespro.ru
Whole thread Raw
Responses Re: Tsvector editing functions  (Robert Haas <robertmhaas@gmail.com>)
Re: Tsvector editing functions  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-hackers
Hello.

There is patch that adds some editing routines for tsvector type.

tsvector delete(tsvector, text)
    removes entry from tsvector by lexeme name
set unnest(tsvector)
    expands a tsvector to a set of rows. Each row has following columns: lexeme, postings, weights.
text[] to_array(tsvector)
    converts tsvector to array of lexemes
tsvector to_tsvector(text[])
    converts array of lexemes to tsvector




Stas Kelvich
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: factor out encoding dependent json/jsonb regression tests
Next
From: Haribabu Kommi
Date:
Subject: Re: Multi-tenancy with RLS