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

Attachment: tsvector_funcs.diff
Description: Binary data

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

Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:

Reply via email to