Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMpZu-00025e-Tl for pgsql-general@arkaria.postgresql.org; Thu, 07 Dec 2017 06:22:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMpZt-0008PE-Vq for pgsql-general@arkaria.postgresql.org; Thu, 07 Dec 2017 06:22:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eMpZt-0008P2-OJ for pgsql-general@lists.postgresql.org; Thu, 07 Dec 2017 06:22:37 +0000 Received: from mx1.mailbox.org ([80.241.60.212]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eMpZp-0002mM-T4 for pgsql-general@lists.postgresql.org; Thu, 07 Dec 2017 06:22:37 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 12593470B3; Thu, 7 Dec 2017 07:22:31 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id EaU74Ipv9zFP; Thu, 7 Dec 2017 07:22:30 +0100 (CET) Message-ID: <1512627736.2882.2.camel@cybertec.at> Subject: Re: Migrating From CentOS-6 Oracle 11g R2 To CentOS-7 PostgreSQL ?? From: Laurenz Albe To: Eugene Poole , pgsql-general@lists.postgresql.org Date: Thu, 07 Dec 2017 07:22:16 +0100 In-Reply-To: References: <7d805a05-7f1a-a76c-5c61-171ff1b2da1c@comcast.net> <24a34fa1-a11e-334a-99b7-73c7bd4b79d1@hogranch.com> Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Eugene Poole wrote: > What happens if I use the Oracle DDL on PostgreSQL? It's not much with > plsql but it has a lot of foreign keys and sequence fields. These are the easy part, and ora2pg can definitely help there. You'll have to modify the DDL statements, but the functionality exists in PostgreSQL. Unless you have things like objects or nested tables, I wouldn't expect much trouble there. The hard part will probably be to teach the application not to use Oracle outer join syntax and that '' IS NOT NULL. Yours, Laurenz Albe