Re: tsearch2 dictionary that indexes substrings?

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: tsearch2 dictionary that indexes substrings?
Дата
Msg-id 462DBE09.20304@sigaev.ru
обсуждение исходный текст
Ответ на Re: tsearch2 dictionary that indexes substrings?  (Tilmann Singer <tils-pgsql@tils.net>)
Список pgsql-general
> 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
Дата:
Сообщение: Re: Slow query using simple equality operators
Следующее
От: Felix Kater
Дата:
Сообщение: Re: PQerrorMessage: suppress trailing new line?