Re: sharing tcl proc's between functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Bob Parkinson" <rwp(at)biome(dot)ac(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: sharing tcl proc's between functions
Date: 2004-06-30 15:15:49
Message-ID: 9102.1088608549@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Bob Parkinson" <rwp(at)biome(dot)ac(dot)uk> writes:
> Is it possible to share some TCL proc's between a set of functions?

Sure. IIRC all pltcl functions run in a backend share one interpreter
(and pltclu functions share a second one). You might look at the
"pltcl_modules" code as a convenient way of getting things loaded upon
first use:
http://www.postgresql.org/docs/7.4/static/pltcl-unknown.html

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message laurent.marzullo 2004-06-30 15:18:06 Transaction XID
Previous Message Ian Barwick 2004-06-30 15:15:03 Re: substring syntax with regexp