Re: session variable

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: session variable
Дата
Msg-id 200309031755.h83Ht3B06049@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: session variable  (sad <sad@bankir.ru>)
Список pgsql-bugs
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@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-bugs по дате отправления:

Предыдущее
От: Karel Zak
Дата:
Сообщение: Re: to_timestamp not stable if date string shorter than
Следующее
От: Janko Richter
Дата:
Сообщение: PgSQL74b2: initdb fails (max_connections)