pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert.Farrugia@go.com.mt
To: pgsql-admin@postgresql.org
Subject: Running queries from different databases and joining them
Date: Wed, 6 Mar 2002 08:26:57 +0100
Message-ID: <20020306072643.6CB964758DC@postgresql.org> (raw)

Hi,

Does anyone know if the feature to do same queries on different databases
and then join them (just like the union in SQL) exists in Postgres ?

I know that one way of doing this is to use JDBC, do different queries and
join them manually.  This is problematic for ordering and grouping since it
needs to be done manually for each query.  Is there any other elegant way
of doing this ?


Regards
Robert




Message-ID: <20020306072643.6CB964758DC@postgresql.org>
Permalink:  ../20020306072643.6CB964758DC@postgresql.org/
Also on:    postgresql.org/message-id/20020306072643.6CB964758DC@postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Robert.Farrugia@go.com.mt
  Subject: Re: Running queries from different databases and joining them
  In-Reply-To: <20020306072643.6CB964758DC@postgresql.org>
  References: <20020306072643.6CB964758DC@postgresql.org>

* 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