Re: Regex - Mailing list pgsql-general

From rlee0001
Subject Re: Regex
Date
Msg-id 1139268499.007461.252150@z14g2000cwz.googlegroups.com
Whole thread Raw
In response to Re: Regex  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
If your version does not support regexp_replace(), I have written a
similar function for easlier versions of postgresql using pl/pgsql
called regexp_replacex(). You can find it by searching google groups.
As the thread there points out, the function I wrote doesn't treat
NULLs properly as posted and there are probably other issues as well.
You are free to use it anyways at your own risk.

If your version of PostgreSQL does support the regexp_replace()
function then you should use it instead as Tom Lane pointed out.

-Robert


pgsql-general by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: Any way to make PG driver obey PrintWarn?
Next
From: "Shahid Butt"
Date:
Subject: Trying to auto start Postgres when server boots up