pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Querying From two databases
2+ messages / 2 participants
[nested] [flat]

* Querying From two databases
@ 2004-04-16 17:55 Pallav Kalva <pkalva@deg.cc>
  2004-04-19 18:30 ` Re: Querying From two databases Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Pallav Kalva @ 2004-04-16 17:55 UTC (permalink / raw)
  To: pgsql-sql

Hi,

    I am new to postgres and I need to do a query which joins two tables 
from different databases. Can you please advice me on how to achieve 
this in postgres.

Thanks!
Pallav




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Querying From two databases
  2004-04-16 17:55 Querying From two databases Pallav Kalva <pkalva@deg.cc>
@ 2004-04-19 18:30 ` Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2004-04-19 18:30 UTC (permalink / raw)
  To: Pallav Kalva <pkalva@deg.cc>; +Cc: pgsql-sql

Pallav Kalva wrote:
> Hi,
> 
>     I am new to postgres and I need to do a query which joins two tables 
> from different databases. Can you please advice me on how to achieve 
> this in postgres.

Sure, see /contrib/dblink in the source distribution.

-- 
  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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-04-19 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-16 17:55 Querying From two databases Pallav Kalva <pkalva@deg.cc>
2004-04-19 18:30 ` Bruce Momjian <pgman@candle.pha.pa.us>

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