Re: regular expression substittion function?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: David Wheeler <david(at)wheeler(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: regular expression substittion function?
Date: 2001-02-15 16:18:54
Message-ID: 200102151618.LAA18609@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Thu, 15 Feb 2001, Bruce Momjian wrote:
>
> > I thought someone suggested that, but I can't remember what happened to
> > it. We have a Perl internal language that works in 7.1beta. You
> > basically want a sed-type ability. I can see real value in that.
>
> A "Perl internal language" in 7.1? Can you tell me what that means? Is it
> like Oracle's feature allowing one to write SPs in Java? I can tell you
> right now that the ability to write SPs in Perl would *totally* rock, from
> my point of view.

Yes, SP's in Perl, Tcl, or PL/SQL-type languages. Perl only works well in
7.1beta.

What do people think of this TODO item:

* Add sed-like regular expression search/replace capability

Seems it would be nice for quick and dirty stuff rather than having to
define a function.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Wheeler 2001-02-15 16:24:53 Re: regular expression substittion function?
Previous Message mike 2001-02-15 16:18:08 Re: what means "INSERT xxx yyy" ?