Re: Linking 2 or more databases.

From: Leif Jensen <leif(at)crysberg(dot)dk>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Linking 2 or more databases.
Date: 2002-10-23 09:36:15
Message-ID: Pine.LNX.4.21.0210231134310.32527-100000@samba.crysberg.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi Bruce,

Thank you for you quick response. Just what I needed :-).

I just thought this was part of the SQL standard !?

Leif

On Tue, 22 Oct 2002, Bruce Momjian wrote:

>
> 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 Paulo Henrique Baptista de Oliveira 2002-10-23 11:10:51 Re: Online backup
Previous Message Tommi Maekitalo 2002-10-23 08:20:24 Re: : Errors when compiling with Postgres 7.2.3 Libraries on RedHat 8