pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John DeSoi <desoi@pgedit.com>
To: dave.bath@unix.net
Cc: pgsql-sql@postgresql.org
Subject: Re: global variables in plpgsql?
Date: Tue, 11 Apr 2006 01:15:37 -0400
Message-ID: <F5F6CA70-2C8C-4786-8333-B2C86CF3FFA6@pgedit.com> (raw)
In-Reply-To: <200604111117.04425.dave.bath@unix.net>
References: <200604111117.04425.dave.bath@unix.net>


On Apr 10, 2006, at 9:17 PM, dave.bath@unix.net wrote:

> So, a couple of questions....
> 1) Can you declare global values from plpgsql?
> 2) If so, is there a way of avoiding namespace pollution?
>    (perhaps the equivalent to Oracle's use of plsql package
>    variables)

plpgsql does not have global variables.


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL




view thread (2+ messages)

Message-ID: <F5F6CA70-2C8C-4786-8333-B2C86CF3FFA6@pgedit.com>
Permalink:  ../F5F6CA70-2C8C-4786-8333-B2C86CF3FFA6@pgedit.com/
Also on:    postgresql.org/message-id/F5F6CA70-2C8C-4786-8333-B2C86CF3FFA6@pgedit.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: desoi@pgedit.com, dave.bath@unix.net
  Subject: Re: global variables in plpgsql?
  In-Reply-To: <F5F6CA70-2C8C-4786-8333-B2C86CF3FFA6@pgedit.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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