From: Josh Berkus <josh@agliodbs.com>
To: sqllist <pgsql-sql@postgresql.org>
Subject: Re: how to select * from database1 table,database2 table
Date: Wed, 14 Feb 2001 08:33:21 -0800
Message-ID: <3A8AB351.F10690E0@agliodbs.com> (raw)
References: <96816m$ont$1@news.tht.net>
"guard":
> if join database1 database2
>
> how to make
Folks, this really needs to be on a FAQ somewhere:
PostgreSQL does not support inter-database Joins. Period.
If you want to join tables from two different databases, I suggest that
you use your front-end code to do so. I would also suggest that you
review your data architecture and see if it's really necessary for you
to store your data in two seperate databases.
-Josh Berkus
--
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com
Subject: Re: how to select * from database1 table,database2 table
In-Reply-To: <3A8AB351.F10690E0@agliodbs.com>
References: <96816m$ont$1@news.tht.net> <3A8AB351.F10690E0@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox