Skip site navigation (1) Skip section navigation (2)

Re: [despammed] PostgreSQL User-Defined Global Variables

From: Andreas Kretschmer <akretschmer(at)despammed(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: [despammed] PostgreSQL User-Defined Global Variables
Date: 2005-07-07 05:06:50
Message-ID: 20050707050649.GA27586@webserv.wug-glas.de (view raw or flat)
Thread:
Lists: pgsql-novice
am  06.07.2005, um 15:16:56 -0400 mailte Van Ingen, Lane folgendes:
> Is it possible, via standard PostgreSQL or an extension, to set up a
> user-defined global variable outside of a stored procedure, and be
> able to query against the value of that variable?

You can use languages like plperl to store persistent data, a nice
example is there: http://www.varlena.com/varlena/GeneralBits/ ( Show
Previous Row Values in plperl)



Regards, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 

In response to

pgsql-novice by date

Next:From: M. Edward (Ed) BoraskyDate: 2005-07-08 04:37:56
Subject: Installing 8.0.3 on Windows 2000 Server?
Previous:From: Michael FuhrDate: 2005-07-07 04:33:35
Subject: Re: PostgreSQL User-Defined Global Variables

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group