Re: proposal for PL packages for 8.3.

From: "korryd(at)enterprisedb(dot)com" <korryd(at)enterprisedb(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, Richard Huxton <dev(at)archonet(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pavel Stehule <pavel(dot)stehule(at)hotmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: proposal for PL packages for 8.3.
Date: 2006-08-09 15:18:56
Message-ID: 1155136736.24313.7.camel@sakai.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > Well, it would be nice to have some clarification about the expected
> > scope and lifetimes of these variables. If two different sessions
> > change the values, what's supposed to happen?
>
> Right, I am confused whether these are session or schema-local
> variables. What does Oracle support? Looking at this:
>
> http://thinkoracle.blogspot.com/2005/10/oracle-packages.html
>
> it seems varaiable are per-session.

Package variables are per-session.

Don't forget package initializers too...

--
Korry Douglas korryd(at)enterprisedb(dot)com
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2006-08-09 15:21:41 Re: 8.2 features status
Previous Message Joshua D. Drake 2006-08-09 15:12:39 Re: 8.2 features status