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

From Tom Lane
Subject Re: 'Session local' variables
Date
Msg-id 22387.1183353846@sss.pgh.pa.us
Whole thread Raw
In response to 'Session local' variables  ("Nick Johnson" <arachnid@notdot.net>)
Responses Re: 'Session local' variables  ("Nick Johnson" <arachnid@notdot.net>)
List pgsql-general
"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?

            regards, tom lane

pgsql-general by date:

Previous
From: "Ashish Karalkar"
Date:
Subject: assigning password from script
Next
From: "Nick Johnson"
Date:
Subject: Re: 'Session local' variables