Re: PL/pgSQL nested functions

From: Jim(dot)Gray(at)Bull(dot)com
To: rod(at)iol(dot)ie
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PL/pgSQL nested functions
Date: 2010-06-10 20:43:20
Message-ID: OF58631153.E97C7DCD-ON0725773E.0071B282-0725773E.0071D53E@us-phx1.az05.bull.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>...why would you want to nest functions?

I am not nesting the functions myself,
but I am trying to convert existing PL/SQL code to PL/pgSQL.

From what I have seen, the nesting of functions is to modularize the code
and share global variables within the same procedure.

"Raymond O'Donnell" <rod(at)iol(dot)ie>
06/10/2010 01:33 PM
Please respond to
rod(at)iol(dot)ie

To
Jim(dot)Gray(at)Bull(dot)com
cc
pgsql-general(at)postgresql(dot)org
Subject
Re: [GENERAL] PL/pgSQL nested functions

On 10/06/2010 21:23, Jim(dot)Gray(at)Bull(dot)com wrote:
>
> Are there any plans to allow PL/pgSQL functions to be nested like Oracle
> allows with PL/SQL procedures?

I don't know the answer to your question, but I'm curious - why would
you want to nest functions?

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Christensen 2010-06-10 20:50:23 Best way to store case-insensitive data?
Previous Message John R Pierce 2010-06-10 20:35:49 Re: Postgresql packages in Solaris