multiple function declarations - Mailing list pgsql-sql

From Majhi, Akas
Subject multiple function declarations
Date
Msg-id 000e01c3ad99$e76a70e0$740c640a@352AkasMajhi
Whole thread Raw
Responses Re: multiple function declarations
List pgsql-sql
Hi ,
 
I have a plpgsql function (MainFunc) that intends to reuse a a particular block of code. So, I intend to make that particulat block of code into another function. (say, HelperFunc)
 
My question is
 
1. Can I declare a function (HelperFunc) inside the main function  (MainFunc)
 
2. If yes then how.
 
Thanks in advance
-akas

pgsql-sql by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: FATAL 2: PageIndexTupleDelete
Next
From: Peter Eisentraut
Date:
Subject: Re: multiple function declarations