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

Re: [SQL] PLpgSQL variables persistance between several functions calls

From: Willy-Bas Loos <willybas(at)gmail(dot)com>
To: "Charles N(dot) Charotti" <ccharotti(at)yahoo(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: [SQL] PLpgSQL variables persistance between several functions calls
Date: 2011-05-03 10:20:47
Message-ID: BANLkTimuzqbOW3Rm+c-iWw4AoPvOz=W8YA@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-novicepgsql-sql
Hi,
Maybe calling a function from within another function would be a solution to
you.

Cheers,

WBL

On Tue, May 3, 2011 at 4:10 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>wrote:

> Hello
>
> no, it's not possible
>
> Regards
>
> Pavel Stehule
>
> 2011/5/2 Charles N. Charotti <ccharotti(at)yahoo(dot)com>:
> > Hello everybody !
> >
> > I want to know if I could share PLpgSQL variables between different
> > functions and within different calls just using memory (not tables or
> other
> > methods).
> >
> > If it is really possible ?
> >
> > Thanks in advance,
> >
> > Chuck
> >
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>



-- 
"Patriotism is the conviction that your country is superior to all others
because you were born in it." -- George Bernard Shaw

In response to

pgsql-novice by date

Next:From: Willy-Bas LoosDate: 2011-05-03 10:23:16
Subject: Fwd: how to create a record when reference is required
Previous:From: java4devDate: 2011-05-03 09:17:47
Subject: how to create a record when reference is required

pgsql-sql by date

Next:From: Viktor BojovićDate: 2011-05-03 11:01:12
Subject: Re: [SQL] PLpgSQL variables persistance between several functions calls
Previous:From: Susanne EbrechtDate: 2011-05-03 09:12:24
Subject: Re: BINARY and BINARY VARYING datatypes in PostgreSQL

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