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

From Medi Montaseri
Subject Re: accessing two databases at the same time
Date
Msg-id 3E667348.60300@intransa.com
Whole thread Raw
In response to Re: accessing two databases at the same time  (Tariq Muhammad <tmuhamma@libertyrms.com>)
List pgsql-general
It would be nice if this functionality was in the PG itself....that is
another abstraction layer
with a config file that says

db-1.schema-1.table-1 = { host-i, db-j, schema-1, table-1 }

This would be a real cluster, ie where (which host) a db runs on is
immaterial...

Tariq Muhammad wrote:

>On Wed, 5 Mar 2003, 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;
>>
>>
>>
>
>You may wanna have a look at dblink under contrib.
>
>     _/_/     _/_/    _/_/  Tariq Muhammad
>    _/  _/  _/   _/ _/  _/  tariq@libertyrms.info
>   _/   _/ _/_/_/  _/_/_/   v:416-646-3304 x 111
>  _/   _/ _/   _/ _/  _/    c:416-455-0272
> _/_/_/  _/_/_/  _/  _/     p:416-381-1457
>_________________________________________________
>     Liberty Registry Management Services Co.
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Recursion working in 7.3?
Next
From: Jan Wieck
Date:
Subject: Re: My employment with PeerDirect