Last active
August 29, 2015 14:02
-
-
Save kmikael/7087e16e59cd32d97d21 to your computer and use it in GitHub Desktop.
PostgreSQL Parsers
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
SELECT t.alias, p.token | |
FROM ts_parse('default', 'http://www.postgresql.org/docs/9.4/static/textsearch-parsers.html') AS p | |
NATURAL JOIN ts_token_type('default') AS t; | |
-- alias | token | |
-- ----------+------------------------------------------------------------ | |
-- protocol | http:// | |
-- url | www.postgresql.org/docs/9.4/static/textsearch-parsers.html | |
-- host | www.postgresql.org | |
-- url_path | /docs/9.4/static/textsearch-parsers.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment