Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3g2i-0005fL-Fv for pgsql-admin@arkaria.postgresql.org; Thu, 06 Aug 2020 13:34:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k3g2C-0001Ed-0P for pgsql-admin@arkaria.postgresql.org; Thu, 06 Aug 2020 13:34:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3g2B-0001EU-PY for pgsql-admin@lists.postgresql.org; Thu, 06 Aug 2020 13:34:15 +0000 Received: from mout.perfora.net ([74.208.4.196]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3g29-0001th-8G for pgsql-admin@postgresql.org; Thu, 06 Aug 2020 13:34:15 +0000 Received: from [192.168.1.143] ([98.169.208.7]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0Md2qC-1kLtN71tlC-00IEv1; Thu, 06 Aug 2020 15:34:07 +0200 Subject: Re: Oracle Package equivalent in Postgres To: Firthouse banu Cc: "pgsql-admin@postgresql.org" References: From: MichaelDBA Message-ID: Date: Thu, 6 Aug 2020 09:34:05 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.25 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:PRs3uedvDA/Q7OrzYMcYDFNew7xLyV2Q0YnoAsEZoGUJqRD9SYa Uhdjz+XmT+OttJtUGt8Ps5T5fL65/hM728Fy/V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9JKgOJ7TZ List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, ora2pg is a standard way to migrate stuff from ORA to PG.  It also will attempt to translate packages/procs/funcs from PL/SQL to PL/pgSQL.  For packages, the output can be separate files with package_name_func/proc_name, or you can group packages into separate output directories where you can subsequently load them into separate PG schemas to distinguish one ORA package from another. Regards, Michael Vitale Firthouse banu wrote on 8/6/2020 8:22 AM: > Hi Postgres master minds, > > Am currently working on migrating databases from  oracle to Postgres. > Am going to work on crons and packages in oracle which needs to be > converted in Postgres. How to convert package in oracle to Postgres. > Is there any equivalent in Postgres if not how it works in Postgres. > > Eagerly  waiting for replies. > > Thanks >