Re: regexp_replace - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: regexp_replace
Date
Msg-id 200506272349.j5RNnfR15216@candle.pha.pa.us
Whole thread Raw
In response to Re: regexp_replace  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: regexp_replace  (Atsushi Ogawa <a_ogawa@hi-ho.ne.jp>)
List pgsql-patches
Andrew Dunstan wrote:
> I'm very glad to see this. But is a nicer name possible? To perl
> programmers at least, "substitute" should make sense.

What is the matter with replace?   We already have replace:

test=> \df replace
                       List of functions
   Schema   |  Name   | Result data type | Argument data types
------------+---------+------------------+---------------------
 pg_catalog | replace | text             | text, text, text
test=> \df replace

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Michael Glaesemann
Date:
Subject: Interval->day patch
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] BUG #1707: statistics collector starts with stats_start_collector