Re: pl/pgsql and global variables - Mailing list pgsql-general

From Olleg Samojlov
Subject Re: pl/pgsql and global variables
Date
Msg-id b73d61$2fke$1@news.hub.org
Whole thread Raw
In response to pl/pgsql and global variables  ("John Lim" <heyjohnlim@yahoo.com>)
List pgsql-general
How much global? global for transaction, session(connection), whole
database... Sometime good solution store "global variable" in table.

John Lim wrote:
> Hello,
>
> We are trying to select which procedural language to use with postgresql. We
> are familiar with oracle and PL/SQL and were pleased with the close match
> with PL/pgSQL.
>
> However we need access to global variables in PL/pgSQL. I cannot find any
> mention of this in the docs. A search on google was not helpful as it just
> pointed back at the docs. Is this feature available, or do we have to use
> some of the other available languages such as PL/TCL or PL/Python?
>
> Also any advice on the stability of any of the PL/languages would be
> appreciated.
>
> Thanks again for reading and answering this.
>
> John Lim
>
>

--
Olleg Samojlov


pgsql-general by date:

Previous
From: "Nigel J. Andrews"
Date:
Subject: Re: Casting
Next
From: "John Lim"
Date:
Subject: Re: pl/pgsql and global variables