Re: regexp_replace

From: Atsushi Ogawa <a_ogawa(at)hi-ho(dot)ne(dot)jp>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: regexp_replace
Date: 2005-06-28 13:03:54
Message-ID: PIEMIKOOMKNIJLLLBCBBEEBBCJAA.a_ogawa@hi-ho.ne.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2005-06-28 13:26:07 Re: regexp_replace
Previous Message Andrew Dunstan 2005-06-28 12:53:50 Re: COPY FROM performance improvements