Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B431364FCF7 for ; Thu, 4 Sep 2008 23:40:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 81199-08 for ; Thu, 4 Sep 2008 23:40:16 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from vms173005pub.verizon.net (vms173005pub.verizon.net [206.46.173.5]) by postgresql.org (Postfix) with ESMTP id 11A7B64FCEF for ; Thu, 4 Sep 2008 23:40:16 -0300 (ADT) Received: from ridley.home ([71.179.187.2]) by vms173005.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K6P00IM1BESU703@vms173005.mailsrvcs.net> for pgsql-general@postgresql.org; Thu, 04 Sep 2008 21:40:05 -0500 (CDT) Date: Thu, 04 Sep 2008 22:40:02 -0400 From: Robert Treat Subject: Re: Oracle and Postgresql In-reply-to: To: pgsql-general@postgresql.org Cc: "Asko Oja" , "Michael Nolan" , M2Y Message-id: <200809042240.02877.xzilla@users.sourceforge.net> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-15 Content-transfer-encoding: 7bit Content-disposition: inline References: <41c1fa08-86a0-4023-acaa-d838d5b0abf8@i24g2000prf.googlegroups.com> <200809022256.51541.xzilla@users.sourceforge.net> User-Agent: KMail/1.9.10 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/180 X-Sequence-Number: 137187 On Wednesday 03 September 2008 09:17:54 Asko Oja wrote: > On Wed, Sep 3, 2008 at 5:56 AM, Robert Treat > > wrote: > > On Tuesday 02 September 2008 17:21:12 Asko Oja wrote: > > > On Tue, Sep 2, 2008 at 2:09 AM, Michael Nolan wrote: > > > > Oracle handles connecting to multiple databases (even on > > > > multiple/remote > > > > > > computers) fairly seamlessly, PG does not (yet.) > > > > > > Stuff we do with plProxy on PostgreSQL is in some respects more > > > advanced than anything Oracle has to offer :) We have hundreds of > > > databases in > > > > quite > > > > > complex network of remote calls and replication. > > > > Yes, but it is also far more complex to install, configure, and use, > > compared > > to something simple like oracle's dblink, which comes pre-installed, is > > simple to set-up, and has a much more straight-forward syntax for use in > > day > > to day query work. > > We are working on these matters and hopefully get some of them solved in > 8.4 > > :) > > Configure and use part is NO more complex than Oracle and has several use > cases for which neither of dblinks is suitable. > Or are you claiming that calling functions is not straight forward and > seamless in PostgreSQL. It is not as simple as Oracles database link syntax. Setting up a connection involves a couple of sql looking commands, and once you setup a connection to a remote database, you can reference a table with something like select * from mytable@myotherdb. There's no way a function oriented solution can match that imho. (BTW, if you want to see more, Lewis has a pretty good write up; http://it.toolbox.com/blogs/oracle-guide/database-links-a-definition-in-plain-english-7023) -- Robert Treat Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL