From: | "Gregory S(dot) Williamson" <gsw(at)globexplorer(dot)com> |
---|---|
To: | "Garth Thompson" <garth(at)opsource(dot)net>, <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Queries across multiple database |
Date: | 2004-06-30 23:14:45 |
Message-ID: | 71E37EF6B7DCC1499CEA0316A2568328DC9D18@loki.wc.globexplorer.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Although postgres itself doesn't seem to have a thing such as Informix' "synonym" which allows more-or-less transparent access to a table in a remote database, there is a utility in contrib directory of the postgres source called dblink, which allows access to different instance of postgres by opening connections. I have only played with it for testing and have no idea of its limitations, but it might serve your needs.
Greg Williamson
DBA
GlobeXplorer LLC
-----Original Message-----
From: Garth Thompson [mailto:garth(at)opsource(dot)net]
Sent: Wednesday, June 30, 2004 3:54 PM
To: pgsql-sql(at)postgresql(dot)org
Subject: [SQL] Queries across multiple database
I am in the process of migrating the databases for an application from mysql
to postgres. The application is uses several different databases. From
what I have read, postgres still does not support queries across multiple
databases. If this is still true, does anyone have any tricks to get around
this? I'm sure this is a common problem for people migrating from mysql.
The obvious answer is to just migrate everything into one larger postgres
database, but I would like to avoid this if possible - many a line of could
would need to be touched if this was done.
Thanks,
Garth
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2004-06-30 23:19:12 | Re: Queries across multiple database |
Previous Message | Garth Thompson | 2004-06-30 22:54:21 | Queries across multiple database |