Re: Constaints - Mailing list pgsql-general

From Andrew - Supernews
Subject Re: Constaints
Date
Msg-id slrncr7eas.sjo.andrew+nonews@trinity.supernews.net
Whole thread Raw
In response to Constaints  (Jake Stride <nsuk@users.sourceforge.net>)
List pgsql-general
On 2004-12-05, Jan Wieck <JanWieck@Yahoo.com> wrote:
> PostgreSQL does not have userland session variables. You would have to
> write some custom set/get functions in a procedural language that is
> capable of holding global data across function calls (like PL/Tcl).

You can fake session variables by using constant-returning functions
defined in the per-session temporary namespace.

--
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services

pgsql-general by date:

Previous
From: Andrew M
Date:
Subject: Re: SSL confirmation
Next
From: OpenMacNews
Date:
Subject: Re: initdb error: "could not identify current directory"