Re: session variable

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: sad <sad(at)bankir(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: session variable
Date: 2003-09-01 16:57:36
Message-ID: 200309011657.h81Gva817128@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-sql

sad wrote:
> Good day
>
> is it possible to define user variables in session ?
> If not then is it planned to implement ?
> or it is principially impossible in PosqtgreSQL

psql has variables, but in general we don't support session varibles.
You could create a temp table and put a value in there easily.

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Stacy White 2003-09-01 20:34:11 to_timestamp not stable if date string shorter than template
Previous Message Bruce Momjian 2003-09-01 16:45:29 Re: Vacuum I/O throttling

Browse pgsql-sql by date

  From Date Subject
Next Message weigelt 2003-09-01 17:57:04 Re: disabling triggers
Previous Message sad 2003-09-01 14:11:37 session variable