pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah@trade-india.com>
To: Pallav Kalva <pkalva@deg.cc>
Cc: pgsql-sql@postgresql.org
Subject: Re: Querying two databases
Date: Sat, 17 Apr 2004 00:07:18 +0530
Message-ID: <408027DE.1070307@trade-india.com> (raw)
In-Reply-To: <40801F9F.9020402@deg.cc>
References: <40801F9F.9020402@deg.cc>



hi,

its not possible to join cross database tables .
you may keep tables in different schemas instead
of databases.

you may also try contrib/dblink to use tables from
different database.

Regds
mallah.

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.
>
> Thanks!
> Pallav
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faqs/FAQ.html
>




view thread (2+ messages)

Message-ID: <408027DE.1070307@trade-india.com>
Permalink:  ../408027DE.1070307@trade-india.com/
Also on:    postgresql.org/message-id/408027DE.1070307@trade-india.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: mallah@trade-india.com, pkalva@deg.cc
  Subject: Re: Querying two databases
  In-Reply-To: <408027DE.1070307@trade-india.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