pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Gourish Singbal <gourish@gmail.com>
Cc: Goulet, Dick <DGoulet@vicr.com>
Cc: Bradley Kieser <brad@kieser.net>
Cc: Murugan G <murugan.g@renaissance-it.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: migrating oracle table to PostgresQL
Date: Tue, 3 Jan 2006 18:45:56 -0600
Message-ID: <20060104004556.GZ82560@pervasive.com> (raw)
In-Reply-To: <674d1f8a0512282216o62a379c8obbd5fc8c6bc4aece@mail.gmail.com>
References: <4001DEAF7DF9BD498B58B45051FBEA6502FEE979@25exch1.vicorpower.vicr.com>
	<674d1f8a0512282216o62a379c8obbd5fc8c6bc4aece@mail.gmail.com>

On Thu, Dec 29, 2005 at 11:46:51AM +0530, Gourish Singbal wrote:
> ora2pg tool can be used to accomplish the migration from oracle to
> postgresql.
> download it from here...
> http://freshmeat.net/projects/ora2pg/
> 
> The one in contib directory is an old version i guess.
> 
> About clob, blob, and long columns in Oracle all become 'text' in
> postgresql.

Actually, you don't want to store binary (blob) data in a text field.
Use bytea instead, though it's limited to 1GB. You can also use large
objects, which go up to 2G.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (5+ messages)

Message-ID: <20060104004556.GZ82560@pervasive.com>
Permalink:  ../20060104004556.GZ82560@pervasive.com/
Also on:    postgresql.org/message-id/20060104004556.GZ82560@pervasive.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: jnasby@pervasive.com, gourish@gmail.com, DGoulet@vicr.com, brad@kieser.net, murugan.g@renaissance-it.com
  Subject: Re: migrating oracle table to PostgresQL
  In-Reply-To: <20060104004556.GZ82560@pervasive.com>
  References: <4001DEAF7DF9BD498B58B45051FBEA6502FEE979@25exch1.vicorpower.vicr.com> <674d1f8a0512282216o62a379c8obbd5fc8c6bc4aece@mail.gmail.com> <20060104004556.GZ82560@pervasive.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