diff options
| author | Tom Lane | 2007-10-27 16:01:09 +0000 |
|---|---|---|
| committer | Tom Lane | 2007-10-27 16:01:09 +0000 |
| commit | d015d08b43cb123edc528012673d8fb7eeb5f5f5 (patch) | |
| tree | d1c95e4d76ef7ac903d1670349707c13e1764d8f /src/backend/snowball | |
| parent | 834ddc6272943ed7075cbca9646fdacb3598a93d (diff) | |
Rename default text search parser's "uri" token type to "url_path",
per recommendation from Alvaro. This doesn't force initdb since the
numeric token type in the catalogs doesn't change; but note that
the expected regression test output changed.
Diffstat (limited to 'src/backend/snowball')
| -rw-r--r-- | src/backend/snowball/snowball.sql.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/snowball/snowball.sql.in b/src/backend/snowball/snowball.sql.in index 7a32c85edb2..197d94faf1f 100644 --- a/src/backend/snowball/snowball.sql.in +++ b/src/backend/snowball/snowball.sql.in @@ -1,4 +1,4 @@ --- $PostgreSQL: pgsql/src/backend/snowball/snowball.sql.in,v 1.5 2007/10/23 20:46:12 tgl Exp $$ +-- $PostgreSQL: pgsql/src/backend/snowball/snowball.sql.in,v 1.6 2007/10/27 16:01:08 tgl Exp $$ -- text search configuration for _LANGNAME_ language CREATE TEXT SEARCH DICTIONARY _DICTNAME_ @@ -12,8 +12,9 @@ CREATE TEXT SEARCH CONFIGURATION _CFGNAME_ COMMENT ON TEXT SEARCH CONFIGURATION _CFGNAME_ IS 'configuration for _LANGNAME_ language'; ALTER TEXT SEARCH CONFIGURATION _CFGNAME_ ADD MAPPING - FOR email, url, host, sfloat, version, uri, file, float, int, uint, - numword, hword_numpart, numhword + FOR email, url, url_path, host, file, version, + sfloat, float, int, uint, + numword, hword_numpart, numhword WITH simple; ALTER TEXT SEARCH CONFIGURATION _CFGNAME_ ADD MAPPING |
