Re: regexp_replace - Mailing list pgsql-patches

From Atsushi Ogawa
Subject Re: regexp_replace
Date
Msg-id PIEMIKOOMKNIJLLLBCBBEEBBCJAA.a_ogawa@hi-ho.ne.jp
Whole thread Raw
In response to Re: regexp_replace  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: regexp_replace  (Andrew Dunstan <andrew@dunslane.net>)
Re: regexp_replace  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
List pgsql-patches
Bruce Momjian wrote:
> 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
>

I think that regexp_replace is a good name. It is easy to understand.

regards,

--- Atsushi Ogawa


pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: COPY FROM performance improvements
Next
From: Andrew Dunstan
Date:
Subject: Re: regexp_replace