Re: Linking 2 or more databases.

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Leif Jensen <leif(at)crysberg(dot)dk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Linking 2 or more databases.
Date: 2002-10-22 17:07:31
Message-ID: 200210221707.g9MH7VE07929@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


See FAQ item 4.24. See the web site version because it is updated.

---------------------------------------------------------------------------

Leif Jensen wrote:
>
> Hi All,
>
> I need to get information from 2 (or more) database preferably in one
> select statement. Is there a way to join tables from different databases
> in the same SQL ? Can I have a 'virtual' foreign key ? Can I make a view
> 'cross database' ? Can I make some server side programming to accomplish
> this task ? Where do I find documentation if any ?
>
> Thanks for any ideas,
>
> Leif
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Diogo Biazus 2002-10-22 17:18:44 Need help to finish the portuguese translation
Previous Message Bruce Momjian 2002-10-22 17:06:14 Re: looking for documentation about the optimizer