Re: 'Session local' variables

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

"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?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nick Johnson 2007-07-02 05:40:55 Re: 'Session local' variables
Previous Message Ashish Karalkar 2007-07-02 05:11:36 assigning password from script