Re: Global variables in plpgsql

From: Christopher Browne <cbbrowne(at)gmail(dot)com>
To: Nick Raj <nickrajjain(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Global variables in plpgsql
Date: 2011-04-11 18:46:22
Message-ID: BANLkTi=kUS8rinEkU-q4ZQXyNEkSxWbRqw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Apr 11, 2011 at 7:33 AM, Nick Raj <nickrajjain(at)gmail(dot)com> wrote:
> Can anyone know how to define global variable in plpgsql?

I expect you should consult the manual page on the command CREATE
TABLE. That's what would be the nearest SQL equivalent to a "global
variable."

http://www.postgresql.org/docs/9.0/static/sql-createtable.html
--
http://linuxfinances.info/info/postgresql.html

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-04-11 19:16:07 Re: switch UNLOGGED to LOGGED
Previous Message PostgreSQL - Hans-Jürgen Schönig 2011-04-11 18:35:34 Re: workaround for expensive KNN?