Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TRNVA-0008Fa-8p for pgsql-admin@postgresql.org; Thu, 25 Oct 2012 13:29:36 +0000 Received: from mr003msr.fastwebnet.it ([85.18.95.66]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TRNV4-0002zk-Hf for pgsql-admin@postgresql.org; Thu, 25 Oct 2012 13:29:35 +0000 Received: from [10.146.56.170] (10.146.56.170) by mr003msr.fastwebnet.it (8.5.140.03) id 507A521900FEBF5D for pgsql-admin@postgresql.org; Thu, 25 Oct 2012 15:29:28 +0200 Message-ID: <50893EB9.70306@sferacarta.com> Date: Thu, 25 Oct 2012 15:29:29 +0200 From: jo User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: migrate from PostgreSQL to Oracle Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201210/115 X-Sequence-Number: 40231 Hi all, I'm working with same db schema in PostgreSQL and Oracle, We mainly work in PostgreSQL but sometimes we need to copy schema and data from pg to oracle because some our customers want to use oracle instead of pg. Thus I'm looking for some linux script to migrate from pg to oracle. At the moment, I dump data from pg using pg_dump in the format: INSERT INTO table (columns) (values) then I load it into the Oracle db using cx_Oracle this procedure is so slow, and sometimes I have to edit and modify data manually, because some INSERT format aren't compatible. Is there any interesting linux script to do this more easily? something like the ora2pg script. thanks j