pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: peter <peter@peter.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Multiple Databases
Date: Wed, 23 Oct 2002 09:36:44 -0700
Message-ID: <3DB6D01C.9000601@joeconway.com> (raw)
References: <web-1796548@davinci.ethosmedia.com>

Josh Berkus wrote:
>>Is it possible to create a view using tables from two different
>>postgresql
>>servers?
> 
> No.
> 

It isn't possible with plain old SQL, but it is possible (albeit ugly) using 
contrib/dblink in PostgreSQL 7.2.x. See README.dblink for documentation and 
examples.

In PostgreSQL 7.3 (in beta testing now) the syntax and usability of 
contrib/dblink is greatly improved.

Joe




view thread (9+ messages)  latest in thread

Message-ID: <3DB6D01C.9000601@joeconway.com>
Permalink:  ../3DB6D01C.9000601@joeconway.com/
Also on:    postgresql.org/message-id/3DB6D01C.9000601@joeconway.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mail@joeconway.com, josh@agliodbs.com, peter@peter.com
  Subject: Re: Multiple Databases
  In-Reply-To: <3DB6D01C.9000601@joeconway.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox