Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

Next:From: laurent.marzulloDate: 2004-06-30 15:18:06
Subject: Transaction XID
Previous:From: Ian BarwickDate: 2004-06-30 15:15:03
Subject: Re: substring syntax with regexp

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group