Thread: Querying multiple databases...

Querying multiple databases...

From
"Douglas Mayle"
Date:

In Oracle, it is possible to use DB links to run a query across more than one database (ie. Select * from table_in_thisdb, table1@externaldb).  Is there any way to perform something similar in Postgres?

 

Doug 

 

Re: Querying multiple databases...

From
Bruce Momjian
Date:
See /contrib/dblink.

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

Douglas Mayle wrote:
> In Oracle, it is possible to use DB links to run a query across more than
> one database (ie. Select * from table_in_thisdb, table1@externaldb).  Is
> there any way to perform something similar in Postgres?
>
>
>
>   <http://dmayle.com/dotsig.gif>
>
> Doug
>
>
>

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