pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Jessica Richard <rjessil@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: cross database references...
Date: Fri, 18 May 2007 10:59:07 -0500
Message-ID: <464DCD4B.6030904@g2switchworks.com> (raw)
In-Reply-To: <920543.35507.qm@web56405.mail.re3.yahoo.com>
References: <920543.35507.qm@web56405.mail.re3.yahoo.com>

Jessica Richard wrote:
> Other than dblink, is there any other way to let me joint select two 
> tables in two different databases?

Would schemas work for you?  You can have multiple schemas in one 
database (like oracle) so that you references tables as 
schemaname.tablename etc...  Works well for most places you need to do this.



view thread (8+ messages)  latest in thread

Message-ID: <464DCD4B.6030904@g2switchworks.com>
Permalink:  ../464DCD4B.6030904@g2switchworks.com/
Also on:    postgresql.org/message-id/464DCD4B.6030904@g2switchworks.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-admin@postgresql.org
  Cc: smarlowe@g2switchworks.com, rjessil@yahoo.com
  Subject: Re: cross database references...
  In-Reply-To: <464DCD4B.6030904@g2switchworks.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