Received: from mailout2-0.nyroc.rr.com (mailout2-1.nyroc.rr.com [24.92.226.165]) by hub.org (8.10.1/8.10.1) with ESMTP id e8RCLpr21833 for ; Wed, 27 Sep 2000 08:21:51 -0400 (EDT) Received: from cp5340.localdomain (tmp1-11784.twcny.rr.com [24.161.117.132]) by mailout2-0.nyroc.rr.com (8.9.3/8.9.3) with ESMTP id IAA16907 for ; Wed, 27 Sep 2000 08:13:52 -0400 (EDT) Received: (from agreene@localhost) by cp5340.localdomain (8.9.3/8.9.3) id IAA04851 for pgsql-admin@postgresql.org; Wed, 27 Sep 2000 08:21:51 -0400 Date: Wed, 27 Sep 2000 08:21:51 -0400 From: "Anthony E . Greene" To: pgsql-admin@postgresql.org Subject: Re: PostgresQL Connection Question Message-ID: <20000927082151.C4627@cp5340> References: <39CA848E.BCED0E00@readysetnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <39CA848E.BCED0E00@readysetnet.com>; from gmr@readysetnet.com on Thu, Sep 21, 2000 at 17:58:38 -0400 X-Mailer: Balsa 0.9.2 X-Archive-Number: 200009/78 On Thu, 21 Sep 2000 17:58 Gavin M. Roy wrote: >Is it possible in one sql statement to query tables from multiple >databases? No. The query is sent to the backend over a connection to a specific database. You will need to create separate queries for each database and send the appropriate query to each one. It's not too hard. There is more error checking involved, but I had to do it in one of my applications and found that it's not much more trouble. -- Anthony E. Greene PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AIM: TonyG05 ICQ: 91183266 Jabber: TonyGreene Linux. The choice of a GNU Generation.