Escaping regexp special characters in field value

Поиск
Список
Период
Сортировка
От Allan Kamau
Тема Escaping regexp special characters in field value
Дата
Msg-id CAF3N6oQVm-o2qSU3knSjNuAVJ8XwPW3gGphuo3_mWxs9eAMJ7w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Escaping regexp special characters in field value  ("David Johnston" <polobo@yahoo.com>)
Список pgsql-general
I do have a field for which I want to perform a join with some other field in another table using case without case sensitivity perhaps using ~*.
One of this fields may contain + characters or unbalanced parenthesis. Is there a way or some function that may mask out the regexp awareness of any of these characters if they appear the field values.

Should I need to write a function to escape each of these characters by placing a "\" character before it?

Allan.

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

Предыдущее
От: Jasen Betts
Дата:
Сообщение: Re: Postgresql - 8.3 Replication in windows
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: PostgresQL intallation error