Обсуждение: session variable and/or global variable in plpgsql

Поиск
Список
Период
Сортировка

session variable and/or global variable in plpgsql

От
postgres@pivert.org
Дата:
Hi,

Is it possible to set a custom session variable and/or global variable in
plpgsql ?

Regards,

Re: session variable and/or global variable in plpgsql

От
Bruce Momjian
Дата:
postgres@pivert.org wrote:
> Hi,
>
> Is it possible to set a custom session variable and/or global variable in
> plpgsql ?

No.  You can create a temporary or non-temporary table and select from
that.

--
  Bruce Momjian   http://candle.pha.pa.us
  SRA OSS, Inc.   http://www.sraoss.com

  + If your life is a hard drive, Christ can be your backup. +