Re: Oracle -> Pg migration

From: Muhammad Ikram <me(dot)mikram(at)gmail(dot)com>
To: Laszlo Forro <getforum(at)gmail(dot)com>
Cc: "pgsql-novice(at)lists(dot)postgresql(dot)org" <pgsql-novice(at)lists(dot)postgresql(dot)org>
Subject: Re: Oracle -> Pg migration
Date: 2024-09-11 12:05:43
Message-ID: CAJQ7xG6SqBENUOaGxw+EkRJ25QTeZ547Cjf4pQRXCPFv_YsviQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi

Could you check the INPUT_FILE parameter in ora2pg config file ? I think
you can provide a SQL file instead of live connection.

or try

ora2pg -i /path/to/your/oracle_export.sql -o output.sql

Regards,
Muhammad Ikram

On Wed, Sep 11, 2024 at 2:27 PM Laszlo Forro <getforum(at)gmail(dot)com> wrote:

> Hi dear community,
> We are to dig into the option of migrating an Oracle db to Pg and found
> the Ora2Pg. However, that seem to do data migration, requires running
> Oracle db. We would like to dump the Oracle object declarations (create
> statements in SQL files) and move it to Pg first, no data migrated.
> Can you guide us if there is any tool that can support this approach?
> Thank you very much!
> LF.
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Frankie Y. Liu 2024-09-16 15:43:09 Collapse arrow
Previous Message Laszlo Forro 2024-09-11 09:19:06 Oracle -> Pg migration