Re: Creating a session variable in Postgres - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Creating a session variable in Postgres
Date
Msg-id 200406021453.i52ErCI12605@candle.pha.pa.us
Whole thread Raw
In response to Creating a session variable in Postgres  ("Nagib Abi Fadel" <nagib.abi-fadel@usj.edu.lb>)
Responses Re: Creating a session variable in Postgres  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Nagib Abi Fadel wrote:
> Is it possible to create a session variable for each user in Postresql ??

No.  The best you can do is create a temp table and put a value in
there.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: Creating a session variable in Postgres
Next
From: Josué Maldonado
Date:
Subject: Re: Insert speed question