From: tjk@tksoft.com <tjk@tksoft.com>
To: caffeine@toodarkpark.org
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Dumping Oracle tables into Postgres
Date: Wed, 25 Aug 1999 10:50:03 -0700 (PDT)
Message-ID: <199908251750.KAA02838@uno.tksoft.com> (raw)
In-Reply-To: <Pine.LNX.3.96.990825132916.7908f-100000@rabies.toodarkpark.org>
Esteban,
Just one way of doing it, but export the tables
as comma/tab delimited files, or using whatever delimeter is
easy for you, and then use Postgres' copy command to import
the data into a Postgres table(s).
See under COPY in the user documentation for your
options, syntax, etc.. Anyway, the idea is to write
the data into a text file, and then either modify the text file
to contain the copy commands, or do it from a script, or
even do it manually with psql.
Once the data is inside postgres, you can tweak it to
your heart's content.
Troy
>
> On Tue, 24 Aug 1999, Esteban Chiner Sanz wrote:
>
> > What's the easiest (fastest) way for dumping Oracle tables into Postgres
> > tables?
> > Thank you,
>
> a quickie perl+DBI script solved that for me... ill have to check to see
> how portable it is... i know the sid, username, passwd were all
> hardcoded...
>
> ---
> Howie <caffeine@toodarkpark.org> URL: http://www.toodarkpark.org
> "The distance between insanity and genius is measured only by success."
>
>
> ************
>
>
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-sql@postgresql.org
Cc: tjk@tksoft.com, caffeine@toodarkpark.org
Subject: Re: [SQL] Dumping Oracle tables into Postgres
In-Reply-To: <199908251750.KAA02838@uno.tksoft.com>
References: <Pine.LNX.3.96.990825132916.7908f-100000@rabies.toodarkpark.org> <199908251750.KAA02838@uno.tksoft.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