pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gourish Singbal <gourish@gmail.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Need help in data migration
Date: Thu, 5 May 2005 17:52:56 +0530
Message-ID: <674d1f8a05050505224f231a5c@mail.gmail.com> (raw)

I need help to transfer data  from postgreql to oracle database on
regular basis.

The original productin application runs on oracle.
We need this setup temporarily for certain time period till we are
confortable that our application can survive on postgresql.

Please help if somebody has worked on such projects.

I tried taking pg_dump as follows from postgresql 7.4.5

pg_dump -t tablename_test -a -D -O rpt_production > tablename_test.sql

and than ran below on oracle but i got many errors.
One reason i can think of is becase i have column names like
 "version", "type", in the insert command?.

SQL>@$HOME/tablename_test.sql

Am i misssing any thing 
please help
Awaiting reply
-- 
Best,
Gourish Singbal



view thread (4+ messages)  latest in thread

Message-ID: <674d1f8a05050505224f231a5c@mail.gmail.com>
Permalink:  ../674d1f8a05050505224f231a5c@mail.gmail.com/
Also on:    postgresql.org/message-id/674d1f8a05050505224f231a5c@mail.gmail.com

 · 

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-admin@postgresql.org
  Cc: gourish@gmail.com
  Subject: Re: Need help in data migration
  In-Reply-To: <674d1f8a05050505224f231a5c@mail.gmail.com>
  References: <674d1f8a05050505224f231a5c@mail.gmail.com>

* 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