pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Majhi, Akas <amajhi@orbitwerks.com>
To: pgsql-sql@postgresql.org
Subject: multiple function declarations
Date: Tue, 18 Nov 2003 11:34:57 +0530
Message-ID: <000e01c3ad99$e76a70e0$740c640a@352AkasMajhi> (raw)

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

view thread (2+ messages)  latest in thread

Message-ID: <000e01c3ad99$e76a70e0$740c640a@352AkasMajhi>
Permalink:  ../000e01c3ad99$e76a70e0$740c640a@352AkasMajhi/
Also on:    postgresql.org/message-id/000e01c3ad99$e76a70e0$740c640a@352AkasMajhi

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: amajhi@orbitwerks.com
  Subject: Re: multiple function declarations
  In-Reply-To: <000e01c3ad99$e76a70e0$740c640a@352AkasMajhi>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox