Ronnie Meier Ramos <ronnie@viler.com.br> writes:
> 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) ?
plpgsql doesn't have this at present, but some of the other PLs do.
regards, tom lane