pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedDatabase joins
2+ messages / 2 participants
[nested] [flat]
* Database joins
@ 2002-09-09 08:58 Jay <jayps@addr.com>
0 siblings, 1 reply; 2+ messages in thread
From: Jay @ 2002-09-09 08:58 UTC (permalink / raw)
To: pgsql-sql
Hi,
I have created two databases, db1 and db2 in my POSTGRESQL database system.
And both the databases contains few tables also.
Could you please help me to write a query which should retrieve data from both the databases
(Database joins and table joins)
Expecting and earliest reply
Regards
Jay
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Database joins
@ 2002-09-09 15:44 Stephan Szabo <sszabo@megazone23.bigpanda.com>
parent: Jay <jayps@addr.com>
0 siblings, 0 replies; 2+ messages in thread
From: Stephan Szabo @ 2002-09-09 15:44 UTC (permalink / raw)
To: Jay <jayps@addr.com>; +Cc: pgsql-sql
On Mon, 9 Sep 2002, Jay wrote:
> Hi,
> I have created two databases, db1 and db2 in my POSTGRESQL database system.
> And both the databases contains few tables also.
> Could you please help me to write a query which should retrieve data from both the databases
> (Database joins and table joins)
You cannot currently directly via sql only do
cross database joins. You might want to see
if contrib/dblink will let you do what you want
(iirc it's gotten better in 7.3 with the
functions returning result set stuff).
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-09-09 15:44 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-09-09 08:58 Database joins Jay <jayps@addr.com>
2002-09-09 15:44 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
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