Search Postgresql Archives

Escaping regexp special characters in field value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux