mirror of https://github.com/postgres/postgres
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
402 B
17 lines
402 B
|
18 years ago
|
--
|
||
|
|
-- first, define the datatype. Turn off echoing so that expected file
|
||
|
|
-- does not depend on contents of this file.
|
||
|
|
--
|
||
|
|
SET client_min_messages = warning;
|
||
|
|
\set ECHO none
|
||
|
|
\i dict_xsyn.sql
|
||
|
|
\set ECHO all
|
||
|
|
RESET client_min_messages;
|
||
|
|
|
||
|
|
--configuration
|
||
|
|
ALTER TEXT SEARCH DICTIONARY xsyn (RULES='xsyn_sample', KEEPORIG=false);
|
||
|
|
|
||
|
|
--lexize
|
||
|
|
SELECT ts_lexize('xsyn', 'supernova');
|
||
|
|
SELECT ts_lexize('xsyn', 'grb');
|