Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m4O0A-0001BH-5x for pgsql-docs@arkaria.postgresql.org; Fri, 16 Jul 2021 13:35:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m4O08-0000Lw-OZ for pgsql-docs@arkaria.postgresql.org; Fri, 16 Jul 2021 13:35:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m4O08-0000Lo-IX for pgsql-docs@lists.postgresql.org; Fri, 16 Jul 2021 13:35:36 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m4O05-0003s0-KY for pgsql-docs@lists.postgresql.org; Fri, 16 Jul 2021 13:35:35 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 16GDZVqN3732779; Fri, 16 Jul 2021 09:35:32 -0400 From: Tom Lane To: guettliml@thomas-guettler.de cc: pgsql-docs@lists.postgresql.org Subject: Re: user-defined function in Perl or Tcl ??? In-reply-to: <162642866206.699.9344569662402683004@wrigleys.postgresql.org> References: <162642866206.699.9344569662402683004@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Fri, 16 Jul 2021 09:44:22 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3732777.1626442531.1@sss.pgh.pa.us> Date: Fri, 16 Jul 2021 09:35:31 -0400 Message-ID: <3732778.1626442531@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Doc comments form writes: >> If you have pattern matching needs that go beyond this, consider writing a >> user-defined function in Perl or Tcl. > If you start from scratch today, it is unlikely that you use Perl or Tcl. That statement is not that way because we haven't thought about it. Of the options we provide in the core distro, plpython is less suitable because it only comes in an untrusted form (for lack of any workable sandboxing feature in Python). So plperl or pltcl is what there is. regards, tom lane