Re: Using HStore type in TSearch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using HStore type in TSearch
Дата
Msg-id 12820.1269873794@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Using HStore type in TSearch  (Łukasz Dejneka <l.dejneka@gmail.com>)
Ответы Re: Using HStore type in TSearch  (Łukasz Dejneka <l.dejneka@gmail.com>)
Список pgsql-hackers
Łukasz Dejneka <l.dejneka@gmail.com> writes:
> What I want to do is to use HStore data type (namely the HStore keys) in
> TSearch. I don't want use TSVector and the original ts_match_vq function,
> because I want to be able to control exact values that are passed to the
> search and not use their lexemes.

If that's what you're after, why don't you set up a text search
configuration in which the parser/dictionary are trivial and do no
transformations of the strings (beyond perhaps splitting at whitespace)?
Seems a lot easier than constructing your own datatype and all the
required support functions.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: enable_joinremoval
Следующее
От: Joachim Wieland
Дата:
Сообщение: Parallel pg_dump for 9.1