Re: Creating an index-type for LIKE '%value%'

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: Creating an index-type for LIKE '%value%'
Дата
Msg-id E1CyYKY-0002Vc-ND@lerami.lerctr.org
обсуждение исходный текст
Ответ на Re: Creating an index-type for LIKE '%value%'  (Oleg Bartunov <oleg@sai.msu.su>)
Ответы Re: Creating an index-type for LIKE '%value%'  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-general
Oleg Bartunov wrote:
> On Tue, 8 Feb 2005, Larry Rosenman wrote:
>
>>
>> It doesn't seem to like pieces with hyphens ('-') in the name, when I
>> try To update blacklist set new_domain_lt=text2ltree(domain) I get a
>> Syntax error (apparently for the hyphens).
>>
>
> Try change definition of ISALNUM on ltree.h
>
> #define ISALNUM(x)      ( isalnum((unsigned char)(x)) || (x) == '_' )
>
> this was already discussed
> http://www.pgsql.ru/db/mw/msg.html?mid=2034299
>
Thanks!

Now, how can I make it always case-insensitive?



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



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

Предыдущее
От: "Berend Tober"
Дата:
Сообщение: Re: create aggregates to concatenate
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Creating an index-type for LIKE '%value%'