Re: tsearch in core patch, for inclusion - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: tsearch in core patch, for inclusion
Date
Msg-id 45DD9BC5.2010307@sigaev.ru
Whole thread Raw
In response to Re: tsearch in core patch, for inclusion  (Markus Schiltknecht <markus@bluegap.ch>)
Responses Re: tsearch in core patch, for inclusion  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> CREATE FULLTEXT CONFIGURATION myfts LIKE template_cfg AS DEFAULT;
> SELECT add_fulltext_config('myfts', 'template_cfg', True);
That's simple, but what about
CREATE FULLTEXT MAPPING ON cfgname FOR lexemetypename[, ...] WITH dictname1[, ...];
?

SELECT create_fulltext_mapping(cfgname, '{lexemetypename[, ...]}'::text[],'{dictname1[, ...]}'::text[]);

Seems rather ugly for me...

And function interface does not provide autocompletion and online help in psql. 
\df says only types of arguments, not a meaning.


-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: What is CheckPoint.undo needed for?
Next
From: "Phil Currier"
Date:
Subject: Re: Column storage positions