X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 18209D1ECDE for ; Wed, 24 Mar 2004 20:09:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 84050-04 for ; Wed, 24 Mar 2004 16:09:26 -0400 (AST) Received: from e-mail-gate-1.nuvo.com (unknown [216.191.35.10]) by svr1.postgresql.org (Postfix) with SMTP id 68712D1ECBD for ; Wed, 24 Mar 2004 16:09:24 -0400 (AST) Received: from EXCHANGE.nuvo.com ([172.20.10.130]) by e-mail-gate-1.nuvo.com (SAVSMTP 3.1.3.37) with SMTP id M2004032415093626354 for ; Wed, 24 Mar 2004 15:09:36 -0500 Received: by EXCHANGE.nuvo.com with Internet Mail Service (5.5.2653.19) id ; Wed, 24 Mar 2004 15:09:25 -0500 Message-ID: From: Louie Kwan To: "'pgsql-admin@postgresql.org'" Subject: access multiple PostgreSQL Databases at the same time. Date: Wed, 24 Mar 2004 15:09:21 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/318 X-Sequence-Number: 12887 Hi All, Due to some security issues, we need to separate the data for one customer into a separate PostgreSQL box/server. My question is that how could we have sql statements which allow us to access multiple PostgreSQL databases at the same time. Not separate schema, but in different postgresql server. Is there a way to SELECT tables or create JOINs from multiple databases JDBC or psql . I aware that Oracle has Database Link concept. Any tip will help. I did some search on previous posting, but cannot find much. Louie Kwan > NUVO - THE IT OUT-TASKING COMPANY > (613) 726-5071 Direct Line > (613) 721-1399 Fax >