pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Wienhold <ewie@ewie.name>
To: duc hiep ha <haduchiep@googlemail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: ora2pg -c ora2pg.conf -t COPY -a tablename not working properly
Date: Thu, 24 Aug 2023 18:34:25 +0200 (CEST)
Message-ID: <899791304.435903.1692894865198@office.mailbox.org> (raw)
In-Reply-To: <CAM2ukh+dRVh+CgU0Q9DAbCHf_+ZMbnAkz9HA4S-V=FmVbR+98w@mail.gmail.com>
References: <CAM2ukhKfDfJpPPAtNOKdEcrDKr_d3uFEcDcB9gAEORnxyrcySw@mail.gmail.com>
	<CAKoxK+7=e101fnxJJuKhjukeL+v3J0JEgLA9eZRAfNQB_VeaGw@mail.gmail.com>
	<CAM2ukh+dRVh+CgU0Q9DAbCHf_+ZMbnAkz9HA4S-V=FmVbR+98w@mail.gmail.com>

> On 24/08/2023 15:49 CEST duc hiep ha <haduchiep@googlemail.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





view thread (11+ messages)  latest in thread

Message-ID: <899791304.435903.1692894865198@office.mailbox.org>
Permalink:  ../899791304.435903.1692894865198@office.mailbox.org/
Also on:    postgresql.org/message-id/899791304.435903.1692894865198@office.mailbox.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ewie@ewie.name, haduchiep@googlemail.com
  Subject: Re: ora2pg -c ora2pg.conf -t COPY -a tablename not working properly
  In-Reply-To: <899791304.435903.1692894865198@office.mailbox.org>
  References: <CAM2ukhKfDfJpPPAtNOKdEcrDKr_d3uFEcDcB9gAEORnxyrcySw@mail.gmail.com> <CAKoxK+7=e101fnxJJuKhjukeL+v3J0JEgLA9eZRAfNQB_VeaGw@mail.gmail.com> <CAM2ukh+dRVh+CgU0Q9DAbCHf_+ZMbnAkz9HA4S-V=FmVbR+98w@mail.gmail.com> <899791304.435903.1692894865198@office.mailbox.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox