Re: pattern matching

Поиск
Список
Период
Сортировка
От Brett W. McCoy
Тема Re: pattern matching
Дата
Msg-id Pine.LNX.4.30.0101092300120.11754-100000@chapelperilous.net
обсуждение исходный текст
Ответ на pattern matching  ("Alan Nilsson" <anilsson@apple.com>)
Ответы Re: pattern matching
Список pgsql-novice
On Tue, 9 Jan 2001, Alan Nilsson wrote:

> I am trying to search for text(varchar) using the ILIKE operator,
> however I always get a parser error.  Similarly the ~~* operator does
> not work. (actually, doesn't exist)

The case-insensitive regexp operator is ~*, and it does work in
PostgreSQL.  There is no ~~* or ILIKE, but you can do LIKE UPPER('*text*')
to achieve the same thing.

-- Brett
                                     http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
According to my best recollection, I don't remember.
        -- Vincent "Jimmy Blue Eyes" Alo


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

Предыдущее
От: "Alan Nilsson"
Дата:
Сообщение: pattern matching
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pattern matching