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 1oC4y6-0001vK-G4 for pgsql-general@arkaria.postgresql.org; Thu, 14 Jul 2022 19:57:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oC4y4-0001G8-Sf for pgsql-general@arkaria.postgresql.org; Thu, 14 Jul 2022 19:57:48 +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 1oC4y4-0001A0-I0 for pgsql-general@lists.postgresql.org; Thu, 14 Jul 2022 19:57:48 +0000 Received: from resqmta-c1p-024060.sys.comcast.net ([2001:558:fd00:56::3]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oC4xz-0006g9-Kx for pgsql-general@lists.postgresql.org; Thu, 14 Jul 2022 19:57:47 +0000 Received: from resomta-c1p-023412.sys.comcast.net ([96.102.18.229]) by resqmta-c1p-024060.sys.comcast.net with ESMTP id BzI2ox4NfLv9vC4xtoFO0r; Thu, 14 Jul 2022 19:57:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1657828657; bh=rCFipykauTsOc2Rnh4/3odGKuGXLmvT2B3Eg3i7EvLI=; h=Received:Received:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type; b=aK1MfVVGUiOivMaDqvyEc7T9h25d6aU1nCfvOUdRdq6msC1eUoEi//DChmFRAmdiC zbzuZEXmRL9cQ5KXwsnbnF9vDZZtZVpdnvJYxpNbAirFXRUf3tUvWBtxFmBdAiQoCY qbPiPzbGLFpS0Lw9BB2roSw2ElgNZlxwp7wY9WHDmRF6R/Sg5IBoQDCIjehb01cybx dYAxFIdhcTBd7WqQdT38Y3O4uoOuz9Xa7qpGkQupDntB+7qjFNxb/FkE3dgrL/jY+4 SrSfvj1UmCsyySqpmpoHLLIWAgNDKVUFX/NrZ2Q0ClBan/YgP/UM//BoG0KLff8Tlz +vMg4HdorAE8A== Received: from oxapp-asc-88o.email.comcast.net ([96.118.217.128]) by resomta-c1p-023412.sys.comcast.net with ESMTPS id C4xWoyBWULDx9C4xWoLeOi; Thu, 14 Jul 2022 19:57:14 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvfedrudejledgudeghecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvvefkjghfufggtgfgrfgkofhisehtjegstdertdejnecuhfhrohhmpeffteggkfffucftqffvjfcuoegruggrphhtrhhonhestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepudfgtdelhffhgeeuvddtffehgefhvdegfedvheevgfeghfekleehvdfgteffvdehnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghdpmhhomhhjihgrnhdruhhspdgvnhhtvghrphhrihhsvggusgdrtghomhenucfkphepleeirdduudekrddvudejrdduvdekpddviedtudemudeludemkeegtddtmeguvdgrtdemiedugegtmegvfegtugemvdgvleelmeeftgeltgenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehogigrphhpqdgrshgtqdekkehordgvmhgrihhlrdgtohhmtggrshhtrdhnvghtpdhinhgvthepleeirdduudekrddvudejrdduvdekpdhmrghilhhfrhhomheprggurghpthhrohhnsegtohhmtggrshhtrdhnvghtpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepsghruhgtvgesmhhomhhjihgrnhdruhhspdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-Xfinity-VMeta: sc=-100.00;st=legit Date: Thu, 14 Jul 2022 15:57:14 -0400 (EDT) From: DAVID ROTH To: Bruce Momjian Cc: "pgsql-general@lists.postgresql.org" Message-ID: <716257500.1698550.1657828634247@connect.xfinity.com> In-Reply-To: References: <620574116.118124.1657825618304@connect.xfinity.com> Subject: Re: Oracle to Postgress Migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.5-Rev21 X-Originating-IP: 2601:191:8400:d2a0:614c:e3cd:2e99:3c9c X-Originating-Client: open-xchange-appsuite List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Looks good. Thanks > On 07/14/2022 3:10 PM Bruce Momjian wrote: > > > 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