Re: LIKE/ESCAPE implementation

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: LIKE/ESCAPE implementation
Дата
Msg-id 398CDF75.73126950@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: LIKE/ESCAPE implementation  (Thomas Swan <tswan@olemiss.edu>)
Ответы Re: LIKE/ESCAPE implementation  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: LIKE/ESCAPE implementation  (Thomas Swan <tswan@olemiss.edu>)
Список pgsql-hackers
> > What is ILIKE? afaik it is not in SQL9x, so is there any reason to have
> > that rather than the full regular expression case-insensitive operator
> > ("~*") we already have?
> Just that a lot of people have asked for it, over and over again ...
> see the archives ...

I had thought it would be trivial to do ILIKE, but now I'm not sure how
to handle the multi-byte case. It isn't sufficient to wrap the
single-byte comparison arguments with tolower() is it??

btw, do the archives have a full discussion of the correct syntax for
this? I recall people asking for it, but since it is a non-standard
feature what implementation example should I follow? What alternatives
are there? Is "check the archives" sufficient to produce a complete
design discussion? What thread??
                     - Thomas


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: COALESCE implementation question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: LIKE/ESCAPE implementation