Re: ora2pg -c ora2pg.conf -t COPY -a tablename not working properly

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: duc hiep ha <haduchiep(at)googlemail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: ora2pg -c ora2pg.conf -t COPY -a tablename not working properly
Date: 2023-08-24 16:34:25
Message-ID: 899791304.435903.1692894865198@office.mailbox.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On 24/08/2023 15:49 CEST duc hiep ha <haduchiep(at)googlemail(dot)com> wrote:
>
> Further updated to the below Post. Shortly question:
> * Saving data to file using the following Command is fine:
> ora2pg -c ora2pg.conf -t COPY -o data.sql schema/data/
> * Direct copy data from Oracle to Postgres doesn't work
> (command: ora2pg -c ora2pg.conf -t COPY -a tablename).
> Everything Else works fine. Connection to Oracle and Postgres using
> DBD::Pg, DBD::Oracle are set correctly.

Can you access table "tablename" when connecting with Postgres via psql and
the connection settings from ora2pg.conf? Maybe privileges are missing or
the table is not on the search path.

--
Erik

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message duc hiep ha 2023-08-24 16:45:18 Re: ora2pg -c ora2pg.conf -t COPY -a tablename not working properly
Previous Message duc hiep ha 2023-08-24 16:19:18 Re: ora2pg -c ora2pg.conf -t COPY -a tablename not working properly