Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ALTER TABLE documents
- ADD COLUMN tsv tsvector;
- UPDATE documents
- SET tsv = to_tsvector('simple', raw_text)
- WHERE raw_text notnull;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement