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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-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

Browse pgsql-novice by date

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

Browse pgsql-sql by date

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