Received: from mail3.panix.com (mail3.panix.com [166.84.0.167]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9QHckP64893 for ; Fri, 26 Oct 2001 13:38:46 -0400 (EDT) (envelope-from tomg@admin.nrnet.org) Received: from mailhost.nrnet.org (unknown [166.84.192.39]) by mail3.panix.com (Postfix) with ESMTP id 4AEDC9824F; Fri, 26 Oct 2001 13:38:41 -0400 (EDT) Received: from admin.nrnet.org (uucp@localhost) by mailhost.nrnet.org (8.9.3/8.9.3) with UUCP id NAA09133; Fri, 26 Oct 2001 13:39:29 -0400 Received: from localhost (tomg@localhost) by admin.nrnet.org (8.9.1/8.9.1) with ESMTP id NAA11484; Fri, 26 Oct 2001 13:41:55 -0400 Date: Fri, 26 Oct 2001 13:41:55 -0400 (EDT) From: Thomas Good To: Josh Berkus Cc: Horst Herb , pgsql-sql@postgresql.org Subject: Re: Diferent databases on same query... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by postgresql.org id f9QI1MM70715 X-Archive-Number: 200110/374 X-Sequence-Number: 5326 On Fri, 26 Oct 2001, Josh Berkus wrote: > Horst, > > > There are many more good reasons to do so. Example from my own > > domain, > > medicine: > > Thus, we have multiple databases on multiple servers all depending on > > each > > other. > > Your reasons all make sense. What you need is not inter-database > queries but a robust middleware layer, such as J2EE. Your sort of > situation is why middleware exists. Josh, I'm pretty sure Horst does this already - check out GNU Med. (Hallo Horst, Viele Grüsse aus New York. ;-) I guess the problem is that the procedural language mentioned in the original post has a few hurdles yet to manage. BTW, I do this (within the context of very small scripts) using perl DBI. It is cake with Perl. And - your code is relatively portable. Aside from certain Oracle idiosyncracies of course (NVL, DECODE, SYSDATE...) > If GreatBridge was still around, I'd reccommend you contact them, as I > knwo they implemented a solution for your sort of situation. However, I > don't know who'd do it now. What about RedHat? Are they working on this? Dieter (Simader) of SQL Ledger also does this sort of thing within his product (which uses perl dbi): www.sql-ledger.org Cheers -------------------------------------------------------------------- Saint Vincent Catholic Medical Centers -------------------------------------------------------------------- Thomas Good tomg@ { admin | q8 } .nrnet.org Programmer/Analyst Phone: 718-818-5528 Behavioral Health Services Fax: 718-818-5056 Residential Services Mobile: 917-282-7359 -------------------------------------------------------------------- /* Rekordmeister ist nur der FC Bayern München! */ --------------------------------------------------------------------