On Sat, 13 Oct 2001, Peter Eisentraut wrote: > Bill Studenmund writes: > > > session-specific package variables, > > I think this is assuming a little too much about how a PL might operate. > Some PLs already support this in their own language-specific way, with or > without packages. Thus, I don't think packages should touch this. > Actually, I think you could easily set up session variables in the package > initializer function.
Could you please give me an example of how to do this, say for plperl or plpython? Just showing how two functions made with CREATE FUNCTION can use global variables will be fine. This example will help me understand how they work. Take care, Bill ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly