Re: tsearch2 dictionary that indexes substrings?

Поиск
Список
Период
Сортировка
Искать
От
Teodor Sigaev
Тема
Re: tsearch2 dictionary that indexes substrings?
Дата
Msg-id
462DBE09.20304@sigaev.ru
Ответ на
Список
Дерево обсуждения
tsearch2 dictionary that indexes substrings? Tilmann Singer <tils-pgsql@tils.net>
Re: tsearch2 dictionary that indexes substrings? Listmail <lists@peufeu.com>
Re: tsearch2 dictionary that indexes substrings? Tilmann Singer <tils-pgsql@tils.net>
Re: tsearch2 dictionary that indexes substrings? Listmail <lists@peufeu.com>
Re: tsearch2 dictionary that indexes substrings? Oleg Bartunov <oleg@sai.msu.su>
Re: tsearch2 dictionary that indexes substrings? Tilmann Singer <tils-pgsql@tils.net>
Re: tsearch2 dictionary that indexes substrings? Teodor Sigaev <teodor@sigaev.ru>
> My colleague who speaks more C than me came up with the code below
> which works fine for us. Will the memory allocated for lexeme be freed
Nice, except self-defined utf8 properties. I think it will be much better to use
pg_mblen(char*). In this case your dictionary will work with any supported by 
pgsql encodings.

> by the caller?
Yes, of course.


-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/
В списке pgsql-general по дате отправления
От: Alban Hertroys
Дата:
От: Felix Kater
Дата:
FAQ