Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 83DBE9FBF46 for ; Thu, 7 Jun 2007 12:50:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 26939-05 for ; Thu, 7 Jun 2007 12:50:19 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by postgresql.org (Postfix) with ESMTP id 50C729FB5CE for ; Thu, 7 Jun 2007 12:50:20 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id c36so290329ana for ; Thu, 07 Jun 2007 08:50:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ARUZ3Lgw/VT08RAcVxc+QUkP72BZNp7qsNPCb0yMYoOT/brZBb0qj01rNJxWVQQl+9zvfwu3tjRWMYpRmrANzA4jwc8y6qoiAlSRXhL0rU+97Tc0vz560uRW28b1xiprehkrvCrN0pAxV1atFgxLTWw5NwI3wxLH0x4tloGS9C0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ERaSIWG3OvB5ylcOBZkYMx47rRWEHrjhm7WYvyDxhfk7/Teo26QIfhjn9Reydo8kvNj/7obl4gbggtEJUvAt8TitihStmZ+V9wir6rbdM+SKO8kVM3onJ1RG5s2WJ8LJtBllMaoxLHmBxBMKolXSrQ5m8RR+rzVITerhv+4mw4Y= Received: by 10.100.194.7 with SMTP id r7mr1104613anf.1181231418556; Thu, 07 Jun 2007 08:50:18 -0700 (PDT) Received: by 10.100.42.1 with HTTP; Thu, 7 Jun 2007 08:50:18 -0700 (PDT) Message-ID: <1c23c8e70706070850h7696955aw2bfc8cee38d7b43f@mail.gmail.com> Date: Thu, 7 Jun 2007 18:50:18 +0300 From: "Loredana Curugiu" To: Bart.Degryse@indicator.be, pgsql-novice@postgresql.org, pgsql-jdbc@postgresql.org Subject: Re: [NOVICE] Query with tables from 2 different databases inJava In-Reply-To: <4668390D.A3DD.0030.0@indicator.be> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_57061_7788153.1181231418484" References: <1c23c8e70706070708m2f3be6f9o75571fd8a82ee390@mail.gmail.com> <4668154A.3090105@mail.nih.gov> <4668390D.A3DD.0030.0@indicator.be> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/30 X-Sequence-Number: 17092 ------=_Part_57061_7788153.1181231418484 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 6/7/07, Bart Degryse wrote: > > Personally I have no good experiences with neither dblink nor dbi-link. > They perferm only acceptably on very few records. > My approach now is to use srf plperl functions. That approach requires you > to have a reasonable knowledge of perl, but is in my experience the > fastest > (or at least slow) one and certainly the most flexible one. > How would you use tables from different databases in the same select using perl? ------=_Part_57061_7788153.1181231418484 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 6/7/07, Bart Degryse <Bart.Degryse@indicator.be> wrote:
Personally I have no good experiences with neither dblink nor dbi-link.
They perferm only acceptably on very few records.
My approach now is to use srf plperl functions. That approach requires you
to have a reasonable knowledge of perl, but is in my experience the fastest
(or at least slow) one and certainly the most flexible one.

How would you use tables from different databases in the same select
using perl?


------=_Part_57061_7788153.1181231418484--