Re: migrating oracle table to PostgresQL - Mailing list pgsql-admin

From Jim C. Nasby
Subject Re: migrating oracle table to PostgresQL
Date
Msg-id 20060104004556.GZ82560@pervasive.com
Whole thread Raw
In response to Re: migrating oracle table to PostgresQL  (Gourish Singbal <gourish@gmail.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: preventing deadlocks
Next
From: "Jim C. Nasby"
Date:
Subject: Re: full data disk -- any chance of recovery