pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Dumping Oracle tables into Postgres
3+ messages / 3 participants
[nested] [flat]

* Dumping Oracle tables into Postgres
@ 1999-08-24 16:34 Esteban Chiner Sanz <echiner@tissat.es>
  1999-08-25 13:29 ` Re: [SQL] Dumping Oracle tables into Postgres Howie <caffeine@toodarkpark.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Esteban Chiner Sanz @ 1999-08-24 16:34 UTC (permalink / raw)
  To: pgsql-sql

What's the easiest (fastest) way for dumping Oracle tables into Postgres
tables?
Thank you,

            Esteban Chiner

------------------------------------------------------------
 Esteban Chiner Sanz        mailto (work): echiner@tissat.es
 TISSAT





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [SQL] Dumping Oracle tables into Postgres
  1999-08-24 16:34 Dumping Oracle tables into Postgres Esteban Chiner Sanz <echiner@tissat.es>
@ 1999-08-25 13:29 ` Howie <caffeine@toodarkpark.org>
  1999-08-25 17:50   ` Re: [SQL] Dumping Oracle tables into Postgres tjk@tksoft.com <tjk@tksoft.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Howie @ 1999-08-25 13:29 UTC (permalink / raw)
  To: Esteban Chiner Sanz <echiner@tissat.es>; +Cc: pgsql-sql

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."




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [SQL] Dumping Oracle tables into Postgres
  1999-08-24 16:34 Dumping Oracle tables into Postgres Esteban Chiner Sanz <echiner@tissat.es>
  1999-08-25 13:29 ` Re: [SQL] Dumping Oracle tables into Postgres Howie <caffeine@toodarkpark.org>
@ 1999-08-25 17:50   ` tjk@tksoft.com <tjk@tksoft.com>
  0 siblings, 0 replies; 3+ messages in thread

From: tjk@tksoft.com @ 1999-08-25 17:50 UTC (permalink / raw)
  To: caffeine@toodarkpark.org; +Cc: pgsql-sql

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."
> 
> 
> ************
> 
> 




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~1999-08-25 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-08-24 16:34 Dumping Oracle tables into Postgres Esteban Chiner Sanz <echiner@tissat.es>
1999-08-25 13:29 ` Howie <caffeine@toodarkpark.org>
1999-08-25 17:50   ` tjk@tksoft.com <tjk@tksoft.com>

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