pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgresQL Connection Question
2+ messages / 2 participants
[nested] [flat]
* PostgresQL Connection Question
@ 2000-09-21 21:58 Gavin M. Roy <gmr@readysetnet.com>
0 siblings, 1 reply; 2+ messages in thread
From: Gavin M. Roy @ 2000-09-21 21:58 UTC (permalink / raw)
To: pgsql-admin
Is it possible in one sql statement to query tables from multiple
databases?
Thanks in Advance,
Gavin
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: PostgresQL Connection Question
@ 2000-09-27 12:21 Anthony E . Greene <agreene@pobox.com>
parent: Gavin M. Roy <gmr@readysetnet.com>
0 siblings, 0 replies; 2+ messages in thread
From: Anthony E . Greene @ 2000-09-27 12:21 UTC (permalink / raw)
To: pgsql-admin
On Thu, 21 Sep 2000 17:58 Gavin M. Roy wrote:
>Is it possible in one sql statement to query tables from multiple
>databases?
No. The query is sent to the backend over a connection to a specific
database. You will need to create separate queries for each database and send the
appropriate query to each one.
It's not too hard. There is more error checking involved, but I had to do
it in one of my applications and found that it's not much more trouble.
--
Anthony E. Greene <agreene@pobox.com> <http://www.pobox.com/~agreene/;
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
AIM: TonyG05 ICQ: 91183266 Jabber: TonyGreene
Linux. The choice of a GNU Generation. <http://www.linux.org/;
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-09-27 12:21 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-09-21 21:58 PostgresQL Connection Question Gavin M. Roy <gmr@readysetnet.com>
2000-09-27 12:21 ` Anthony E . Greene <agreene@pobox.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