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 1oC4EH-0008Ee-U4 for pgsql-general@arkaria.postgresql.org; Thu, 14 Jul 2022 19:10:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oC4EG-00028Z-IU for pgsql-general@arkaria.postgresql.org; Thu, 14 Jul 2022 19:10:28 +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 1oC4EG-00028Q-8E for pgsql-general@lists.postgresql.org; Thu, 14 Jul 2022 19:10:28 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oC4ED-0006EQ-Kp for pgsql-general@lists.postgresql.org; Thu, 14 Jul 2022 19:10:27 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1oC4EB-00BaG7-4i; Thu, 14 Jul 2022 15:10:23 -0400 Date: Thu, 14 Jul 2022 15:10:23 -0400 From: Bruce Momjian To: DAVID ROTH Cc: "pgsql-general@lists.postgresql.org" Subject: Re: Oracle to Postgress Migration Message-ID: References: <620574116.118124.1657825618304@connect.xfinity.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <620574116.118124.1657825618304@connect.xfinity.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jul 14, 2022 at 03:06:58PM -0400, DAVID ROTH wrote: > Has anything been published on Oracle to Postgress migration. > > I am finding plenty of information about schema migration but, > I think this is the easy part. > I have a a tremendous amount of SQL and PL/SQL code that needs to be translated. I know Oracle "packages" will not translate. DECODE is not standard and will need to be rewritten as CASE. I have seen feature/function translation matrices to/from Oracle and other database but I can't seem to find one for Postgress. > Please point me in the right direction. I would start here: https://wiki.postgresql.org/wiki/Oracle_to_Postgres_Conversion -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Indecision is a decision. Inaction is an action. Mark Batterson