pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedSelect table from other database
2+ messages / 2 participants
[nested] [flat]
* Select table from other database
@ 2002-10-21 10:54 Tiago Moitinho <tmoitinho@hotmail.com>
2002-10-21 14:21 ` Re: Select table from other database Roberto Mello <rmello@cc.usu.edu>
0 siblings, 1 reply; 2+ messages in thread
From: Tiago Moitinho @ 2002-10-21 10:54 UTC (permalink / raw)
To: pgsql-sql
Hi,
I would like to know if this is possible:
I have a database A, with a table X.
Is it possible, being logged in another database (B, for instance), to make
queries using table X from database A?
(something like "SELECT * FROM A.X ...")
Thanks in advance
Tiago
_________________________________________________________________
Get a speedy connection with MSN Broadband. Join now!
http://resourcecenter.msn.com/access/plans/freeactivation.asp
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Select table from other database
2002-10-21 10:54 Select table from other database Tiago Moitinho <tmoitinho@hotmail.com>
@ 2002-10-21 14:21 ` Roberto Mello <rmello@cc.usu.edu>
0 siblings, 0 replies; 2+ messages in thread
From: Roberto Mello @ 2002-10-21 14:21 UTC (permalink / raw)
To: Tiago Moitinho <tmoitinho@hotmail.com>; +Cc: pgsql-sql
On Mon, Oct 21, 2002 at 11:54:53AM +0100, Tiago Moitinho wrote:
> Hi,
>
> I would like to know if this is possible:
>
> I have a database A, with a table X.
> Is it possible, being logged in another database (B, for instance), to make
> queries using table X from database A?
> (something like "SELECT * FROM A.X ...")
See the dblink module in the PostgreSQL contrib tree (available via ftp.
packages available).
-Roberto
--
+----| Roberto Mello - http://www.brasileiro.net/ |------+
+ Computer Science Graduate Student, Utah State University +
+ USU Free Software & GNU/Linux Club - http://fslc.usu.edu/ +
Sigh. I like to think it's just the Linux people who want to be on
the "leading edge" so bad they walk right off the precipice.
-- Craig E. Groeschel
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-10-21 14:21 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-10-21 10:54 Select table from other database Tiago Moitinho <tmoitinho@hotmail.com>
2002-10-21 14:21 ` Roberto Mello <rmello@cc.usu.edu>
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