Re: 'Session local' variables

From: "Nick Johnson" <arachnid(at)notdot(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 'Session local' variables
Date: 2007-07-02 05:40:55
Message-ID: a01fc5d10707012240p1d9db5fxa0c6cf15628af8fc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/2/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Nick Johnson" <arachnid(at)notdot(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ashish Karalkar 2007-07-02 05:43:54 Tables not created in proper schema
Previous Message Tom Lane 2007-07-02 05:24:06 Re: 'Session local' variables