public inbox for [email protected]  
help / color / mirror / Atom feed
From: Amul Sul <[email protected]>
To: DAVID ROTH <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Nested Procedures
Date: Tue, 20 Jul 2021 09:13:03 +0530
Message-ID: <CAAJ_b96eJaLnjY=SfVxyvvYnH8=Z49xLD4y6YqozSeAbZLDNYw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

PostgreSQL doesn't have those options, but EDB Postgres Advanced
Server does provide that.

Regards,
Amul

On Mon, Jul 19, 2021 at 11:50 PM DAVID ROTH <[email protected]> wrote:
>
> Can I nest the definition of a procedure inside on another definition?
> I am used to doing this in Oracle PL/SQL where a local procedure can be defined inside the declaration section of another procedure.
>
> I am looking for 2 things as part of a migration effort.
> 1) Best way to replace Oracle packages.
> 2) Best way to define "private" procedures and functions.
>
> Thanks
> Dave R





view thread (2+ messages)

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Nested Procedures
  In-Reply-To: <CAAJ_b96eJaLnjY=SfVxyvvYnH8=Z49xLD4y6YqozSeAbZLDNYw@mail.gmail.com>

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

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