Re: accessing two databases at the same time - Mailing list pgsql-general

From Ian Barwick
Subject Re: accessing two databases at the same time
Date
Msg-id 200303052154.43604.barwick@gmx.net
Whole thread Raw
In response to accessing two databases at the same time  (Peter Choe <choepete@mindspring.com>)
List pgsql-general
On Wednesday 05 March 2003 21:17, Peter Choe wrote:
> if i have database 'A' with a table called 'a' and another database 'B'
> with a table called 'b', is there a way to do a select using both databases
> and their tables?
>
> select * from A.a, B.b;

Not directly, see:

http://www.postgresql.org/docs/faqs/FAQ.html#4.24

The schema functionality added in version 7.3. may well meet
your needs though, e.g. you can define schema "A" and
schema "B" and perform the same sort of query as above.

Ian Barwick
barwick@gmx.net


pgsql-general by date:

Previous
From: Darko Prenosil
Date:
Subject: Re: accessing two databases at the same time
Next
From: Tariq Muhammad
Date:
Subject: Re: accessing two databases at the same time