Re: Join between tables of two or more databases - Mailing list pgsql-general

From Reg Me Please
Subject Re: Join between tables of two or more databases
Date
Msg-id 200710311223.15029.regmeplease@gmail.com
Whole thread Raw
In response to Join between tables of two or more databases  ("T.J. Adami" <adamitj@gmail.com>)
Responses Re: Join between tables of two or more databases  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-general
Il Wednesday 31 October 2007 11:47:46 T.J. Adami ha scritto:
> Hi people. I have 2 databases named as follows:
>
> 1) company_a
>
> 2) company_b
>
>
> These two databases do not have the same ER model. However, I want to
> access tables on "company_a" there are in "company_b". I want to use
> them as local tables (as other databases like Sybase allows, since you
> have opened a database link).
>
> The question is: can I do this using remote database servers
> (different hosts)? If does not, can I do it at least on local
> databases on the same server?
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

As far as they are "different databases", you cannot do it at the moment.
It doesn't matter whether they are local or not.
The only option should be to do it at the application level with two
connections.

--
Reg me Please

pgsql-general by date:

Previous
From: Joao Miguel Ferreira
Date:
Subject: Re: strange message from pg_dumpall
Next
From: João Paulo Zavanela
Date:
Subject: Re: active connections