pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Becky Alcorn <becky@unisolve.com.au>
To: pgsql-sql@postgresql.org
Subject: Re: Select from two databases
Date: Thu, 22 Apr 2004 10:50:03 +0100
Message-ID: <200404221050.03289.dev@archonet.com> (raw)
In-Reply-To: <007601c42837$8d675bd0$140010ac@baeckea>
References: <007601c42837$8d675bd0$140010ac@baeckea>

On Thursday 22 April 2004 08:00, Becky Alcorn wrote:
> Hi,
>
> I was wondering if there has been any further development on running SQL
> statements involving more than one database?  We are porting a database
> from SQLServer to Postgres and some queries in related applications use
> joins on tables that are in different databases.  We know we can modify the
> code to use dblink to accomplish much the same thing in Postgres.  Does
> anyone know of a more elegant solution for Postgres than dblink?

The standard response to this is to suggest using schemas. Any reason why this 
won't work in your case?

-- 
  Richard Huxton
  Archonet Ltd



view thread (2+ messages)

Message-ID: <200404221050.03289.dev@archonet.com>
Permalink:  ../200404221050.03289.dev@archonet.com/
Also on:    postgresql.org/message-id/200404221050.03289.dev@archonet.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: dev@archonet.com, becky@unisolve.com.au
  Subject: Re: Select from two databases
  In-Reply-To: <200404221050.03289.dev@archonet.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