Re: Custom session variables?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Adam Rich" <adam(dot)r(at)sbcglobal(dot)net>
Cc: "'David Fetter'" <david(at)fetter(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Custom session variables?
Date: 2007-03-02 22:33:19
Message-ID: 17286.1172874799@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Adam Rich" <adam(dot)r(at)sbcglobal(dot)net> writes:
> Any way to pull the value of a config variable
> into a pl/pgsql variable?

current_setting(), or select from the pg_settings view.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2007-03-02 23:28:06 Re: Thanks to all
Previous Message Bruce Momjian 2007-03-02 22:31:28 Re: ftell mismatch with expected position