From: | Shridhar Daithankar <shridhar(at)frodo(dot)hserus(dot)net> |
---|---|
To: | Paramveer(dot)Singh(at)trilogy(dot)com |
Cc: | "pgSQL General" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: schema level variables |
Date: | 2004-09-15 14:51:48 |
Message-ID: | 200409152021.48546.shridhar@frodo.hserus.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wednesday 15 Sep 2004 6:12 pm, Paramveer(dot)Singh(at)trilogy(dot)com wrote:
> Hi!
> I am trying to port an oracle app to postgres, an I don't know what to do
> with package scope variables.
> I was looking up some documentation and it seems (IMHO) that schemas would
> be a nice place to put the variables in(as they already have functions,
> operators and types).
> Is this feasible? Is the dev team interested in doing this at some point in
> the future?
Can you replace the package level variable name with a function? The function
would run a select against a table that stores name/value pair. Of course the
table has to be limited to the schema itself..
Would that be an acceptable work-around?
Shridhar
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Fitzpatrick | 2004-09-15 15:02:21 | Updating another table using a trigger |
Previous Message | Tom Lane | 2004-09-15 14:45:35 | Re: OS X Mac pgAdmin equivalent? |