public inbox for [email protected]  
help / color / mirror / Atom feed
functions-matching.html: Tip says use "Per or Tcl ... ?
2+ messages / 2 participants
[nested] [flat]

* functions-matching.html: Tip says use "Per or Tcl ... ?
@ 2021-06-08 11:35 PG Doc comments form <[email protected]>
  2021-06-08 16:43 ` Re: functions-matching.html: Tip says use "Per or Tcl ... ? Tom Lane <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2021-06-08 11:35 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/functions-matching.html
Description:

https://www.postgresql.org/docs/current/functions-matching.html

```
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.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: functions-matching.html: Tip says use "Per or Tcl ... ?
  2021-06-08 11:35 functions-matching.html: Tip says use "Per or Tcl ... ? PG Doc comments form <[email protected]>
@ 2021-06-08 16:43 ` Tom Lane <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2021-06-08 16:43 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

PG Doc comments form <[email protected]> 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






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-06-08 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 11:35 functions-matching.html: Tip says use "Per or Tcl ... ? PG Doc comments form <[email protected]>
2021-06-08 16:43 ` Tom Lane <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox