Re: 'Session local' variables - Mailing list pgsql-general

From Nick Johnson
Subject Re: 'Session local' variables
Date
Msg-id a01fc5d10707012240p1d9db5fxa0c6cf15628af8fc@mail.gmail.com
Whole thread Raw
In response to Re: 'Session local' variables  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 'Session local' variables
List pgsql-general
On 7/2/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Nick Johnson" <arachnid@notdot.net> writes:
> > I want to write a contrib module that exports a couple of functions
> > that PLs (that don't natively support this) can use to set/get
> > session-local variables.
>
> Um, why do you need to do anything?  Don't current_setting() and
> set_config() cover this?

I thought those were supposed to be reserved for postgres's
configuration options?

-Nick Johnson

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: 'Session local' variables
Next
From: "Ashish Karalkar"
Date:
Subject: Tables not created in proper schema