Re: [GENERAL] pltcl and modules question

2013-03-27 Thread hamann . w
>> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: RIPEMD160 >> >> >> > 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. >> >> You can load tcl code by putting it in the pltcl_modules tables.

Re: [GENERAL] pltcl and modules question

2013-03-27 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 > 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. You can load tcl code by putting it in the pltcl_modules tables. See: http://www.postgresql.org/docs/9

[GENERAL] pltcl and modules question

2013-03-26 Thread hamann . w
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 cr