X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 8F6789FA13E for ; Tue, 6 Jun 2006 18:56:57 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 73773-01 for ; Tue, 6 Jun 2006 18:56:48 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 4BE999FB1B9 for ; Tue, 6 Jun 2006 18:56:49 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 24CF356451; Tue, 6 Jun 2006 16:56:47 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Tue, 6 Jun 2006 16:56:47 -0500 Date: Tue, 6 Jun 2006 16:56:46 -0500 From: "Jim C. Nasby" To: dba@ciberforce.net Cc: pgsql-admin@postgresql.org Subject: Re: How to connect to an oracle table from Postgres? Message-ID: <20060606215646.GH45331@pervasive.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060606:dba@ciberforce.net::2ZEvf2Opr9HOoStU:0000000000000000000 0000000000000000000000000Acc X-Hashcash: 1:20:060606:pgsql-admin@postgresql.org::cwoxV2lvWdZyFPZD:00000000000 0000000000000000000000000S2w X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/38 X-Sequence-Number: 22000 On Tue, Jun 06, 2006 at 11:13:48AM -0400, dba@ciberforce.net wrote: > > Hi List; > > I want to be able to read an oracle tabe from within Postgres. The Oracle db is on a different server within the same network. Is there a good way to pull this off? Only way to do it from within PostgreSQL would be to write a function in a language that can connect to Oracle, such as plperl. There's been talk about extending dblink to support connecting to other databases, but I don't think anything has actually happenend on that front. If solutions outside the database are acceptable then you have more choices, though most of them are commercial. -- 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