pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
session variable and/or global variable in plpgsql
2+ messages / 2 participants
[nested] [flat]

* session variable and/or global variable in plpgsql
@ 2006-03-03 10:47  postgres@pivert.org
  0 siblings, 1 reply; 2+ messages in thread

From: postgres@pivert.org @ 2006-03-03 10:47 UTC (permalink / raw)
  To: pgsql-admin

Hi,

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

Regards,



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: session variable and/or global variable in plpgsql
@ 2006-03-03 15:11  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: postgres@pivert.org
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2006-03-03 15:11 UTC (permalink / raw)
  To: postgres@pivert.org; +Cc: pgsql-admin

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. +



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-03-03 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-03 10:47 session variable and/or global variable in plpgsql postgres@pivert.org
2006-03-03 15:11 ` Bruce Momjian <pgman@candle.pha.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox