pltcl and modules question

From: hamann(dot)w(at)t-online(dot)de
To: pgsql-general(at)postgresql(dot)org
Subject: pltcl and modules question
Date: 2013-03-27 04:39:23
Message-ID: wolfgang-1130327053923.A0123042@amadeus3.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

is there any way to use a module within a pltcl script, i.e. have
load /path/to/mystuff.so
or
package require mystuff
in a script.
The reason why I am asking: I have recently converted a fairly slow script
(lots of regex) into one compiled module that basically does all regex at once, and critcl
made it fairly easy to build a .so or a tcl package out of the code

Similarly, would it be possible to access loaded module from perl script, i.e. have
use mystuff;
line

Regards
Wolfgang Hamann

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ken Tanzer 2013-03-27 06:33:49 Understanding behavior of SELECT with multiple unnested columns
Previous Message adrian.kitchingman 2013-03-27 00:54:20 Re: PostgreSQL service terminated by query