pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Hartwig <daveh@insightdist.com>
To: Dirk Lutzebaeck <lutzeb@cs.tu-berlin.de>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] SELECT across two databases
Date: Wed, 27 May 1998 12:34:37 -0400
Message-ID: <356C409C.96D485C3@insightdist.com> (raw)
References: <13676.9322.689673.963792@gate.wadk-berlin.de>

PostgreSQL does not support this feature at this time.   And, I would not
expect it any time soon.  You would have to either code such a join by
hand.

There is one other option.    Many ODBC compliant tools will support
multi-data source joins.    However this solution may perform poorly
because one side of the join may iteratively query one of the data
sources.   Your call.

Irk Lutzebaeck wrote:

> hi,
>
> when I have two databases say db1 and db2 can there be a select
> statement which accesses both databases eg.
>
> select * from db1.t1,db2.t2 (which is illegal syntax in postgresql but
> legal in informix)
>
> Is there another way to select several databases/namespaces at once?
>
> Dirk






view thread (3+ messages)

Message-ID: <356C409C.96D485C3@insightdist.com>
Permalink:  ../356C409C.96D485C3@insightdist.com/
Also on:    postgresql.org/message-id/356C409C.96D485C3@insightdist.com

 · 

reply

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: daveh@insightdist.com, lutzeb@cs.tu-berlin.de
  Subject: Re: [SQL] SELECT across two databases
  In-Reply-To: <356C409C.96D485C3@insightdist.com>
  References: <13676.9322.689673.963792@gate.wadk-berlin.de> <356C409C.96D485C3@insightdist.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