From douglas@mayle.org Fri Mar 7 19:54:50 2003 X-Original-To: pgsql-admin@postgresql.org Received: from mail231.csoft.net (resin.csoft.net [63.111.22.86]) by postgresql.org (Postfix) with SMTP id 8D8CD475D3B for ; Fri, 7 Mar 2003 14:54:50 -0500 (EST) Received: (qmail 22994 invoked from network); 7 Mar 2003 19:54:50 -0000 Received: from unknown (HELO Tablet) (63.111.27.87) by mail231.csoft.net with SMTP; 7 Mar 2003 19:54:50 -0000 From: "Douglas Mayle" To: Subject: Querying multiple databases... Date: Fri, 7 Mar 2003 14:54:47 -0500 Message-ID: <000201c2e4e3$6891a600$0a0310ac@Tablet> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01C2E4B9.7FBB9E00" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Archive-Number: 200303/67 X-Sequence-Number: 7715 This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C2E4B9.7FBB9E00 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0003_01C2E4B9.7FBB9E00 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

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

 

<= /span>

Doug 

 

------=_NextPart_000_0003_01C2E4B9.7FBB9E00-- From pgman@candle.pha.pa.us Fri Mar 7 20:25:25 2003 X-Original-To: pgsql-admin@postgresql.org Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 2314F474E5C for ; Fri, 7 Mar 2003 15:25:25 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h27KPJ221194; Fri, 7 Mar 2003 15:25:19 -0500 (EST) From: Bruce Momjian Message-Id: <200303072025.h27KPJ221194@candle.pha.pa.us> Subject: Re: Querying multiple databases... In-Reply-To: <000201c2e4e3$6891a600$0a0310ac@Tablet> To: Douglas Mayle Date: Fri, 7 Mar 2003 15:25:19 -0500 (EST) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200303/68 X-Sequence-Number: 7716 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? > > > > > > 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