pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: The Hermit Hacker <scrappy@hub.org>
To: pgsql-sql@postgresql.org
Cc: Dirk Lutzebaeck <lutzeb@cs.tu-berlin.de>
Subject: select across two databases
Date: Wed, 27 May 1998 08:03:06 -0400 (EDT)
Message-ID: <Pine.BSF.3.96.980527080241.301E-100000@hub.org> (raw)



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)  latest in thread

Message-ID: <Pine.BSF.3.96.980527080241.301E-100000@hub.org>
Permalink:  ../Pine.BSF.3.96.980527080241.301E-100000@hub.org/
Also on:    postgresql.org/message-id/Pine.BSF.3.96.980527080241.301E-100000@hub.org

 · 

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: scrappy@hub.org, lutzeb@cs.tu-berlin.de
  Subject: Re: select across two databases
  In-Reply-To: <Pine.BSF.3.96.980527080241.301E-100000@hub.org>
  References: <Pine.BSF.3.96.980527080241.301E-100000@hub.org>

* 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