X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 59DCA9DC83B for ; Tue, 3 Jan 2006 20:45:55 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66621-09 for ; Tue, 3 Jan 2006 20:45:58 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from flake.decibel.org (unknown [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id D624E9DC832 for ; Tue, 3 Jan 2006 20:45:52 -0400 (AST) Received: by flake.decibel.org (Postfix, from userid 1001) id 779513983E; Tue, 3 Jan 2006 18:45:56 -0600 (CST) Date: Tue, 3 Jan 2006 18:45:56 -0600 From: "Jim C. Nasby" To: Gourish Singbal Cc: "Goulet, Dick" , Bradley Kieser , Murugan G , pgsql-admin@postgresql.org Subject: Re: migrating oracle table to PostgresQL Message-ID: <20060104004556.GZ82560@pervasive.com> References: <4001DEAF7DF9BD498B58B45051FBEA6502FEE979@25exch1.vicorpower.vicr.com> <674d1f8a0512282216o62a379c8obbd5fc8c6bc4aece@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <674d1f8a0512282216o62a379c8obbd5fc8c6bc4aece@mail.gmail.com> X-Operating-System: FreeBSD 6.0-RELEASE amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.069 required=5 tests=[AWL=0.069] X-Spam-Score: 0.069 X-Spam-Level: X-Archive-Number: 200601/31 X-Sequence-Number: 20119 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