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-03 17:55:03 |
Message-ID: | 200309031755.h83Ht3B06049@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-sql |
sad wrote:
> On Monday 01 September 2003 20:57, you wrote:
> > 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.
>
> that's ok, unless i need to access it in a trigger.
Why can't you grab it out of the temp table from the trigger?
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-09-03 19:06:23 | Re: 7.3: [BUGS] to_timestamp not stable if date string shorter than |
Previous Message | Peter Eisentraut | 2003-09-03 17:40:58 | Re: [BUGS] session variable |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-09-03 20:42:48 | Re: [BUGS] session variable |
Previous Message | Antony Gubert | 2003-09-03 17:46:10 | unsubscribe |