Ronnie Meier Ramos wrote:
AFAIK PG doesn't have packages - this is not a problem since I can handle it with different schemas or some naming convention, but is there a way to declare persistent variables (that would be "visible" to any function up to the end of the session) ?

You might be able to fake it with some C functions. See:

http://www.joeconway.com/myfunc.tgz

Look at myfunc_setvar(), myfunc_getvar(), and myfunc_rmvar().

HTH,

Joe

---------------------------(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

Reply via email to