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

scheams work fine in ONE db, I need to have two databass and they need to able to talk to eacher, dblink funciton is working fine for me now, I am just wondering if there is any other better way than dblink...

Thanks,
Jessica

Scott Marlowe <smarlowe@g2switchworks.com> wrote: 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.


 
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.

view thread (8+ messages)

Message-ID: <510196.25851.qm@web56405.mail.re3.yahoo.com>
Permalink:  ../510196.25851.qm@web56405.mail.re3.yahoo.com/
Also on:    postgresql.org/message-id/510196.25851.qm@web56405.mail.re3.yahoo.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: rjessil@yahoo.com, smarlowe@g2switchworks.com
  Subject: Re: cross database references...
  In-Reply-To: <510196.25851.qm@web56405.mail.re3.yahoo.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