Created
July 8, 2018 03:49
-
-
Save lettergram/3ef7a3538b9b6e4ce203b2eca7999cfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE comments SET tsv_comment_text = setweight(to_tsvector(coalesce(story_title,'')), 'A') | |
|| setweight(to_tsvector(coalesce(comment_text,'')), 'B'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment