Re: functions-matching.html: Tip says use "Per or Tcl ... ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: guettliml(at)thomas-guettler(dot)de
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: functions-matching.html: Tip says use "Per or Tcl ... ?
Date: 2021-06-08 16:43:37
Message-ID: 1119685.1623170617@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)org> writes:
> Tip
> If you have pattern matching needs that go beyond this, consider writing a
> user-defined function in Perl or Tcl.

> I think Perl or Tcl are not the common choice today.
> AFAIK Python is quite popular, and they have a good regex implementationd,
> too.

If Python had a trusted PL variant, I'd be happy to recommend that here.
But as long as we only have plpythonu, it's pretty hard to recommend
it for run-of-the-mill tasks like pattern matching.

(The lack of plain plpython isn't our fault; it's that Python has
no sandboxing mechanism.)

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2021-06-09 19:54:54 SQL Commands COPY
Previous Message PG Doc comments form 2021-06-08 11:35:13 functions-matching.html: Tip says use "Per or Tcl ... ?