Re: Accessing a database form another database

Поиск
Список
Период
Сортировка
От Guy Rouillier
Тема Re: Accessing a database form another database
Дата
Msg-id 4A80963B.7050308@burntmail.com
обсуждение исходный текст
Ответ на Accessing a database form another database  (Bill Thoen <bthoen@gisnet.com>)
Ответы Re: Accessing a database form another database
Список pgsql-general
Bill Thoen wrote:
> I've got some GIS tables that I want to use across several projects and
> currently I've got each project in a separate database. So say I've got
> two databases, one for the Spacely Sprookets project and one for the
> Cogswell Cogs contract, but I want to access my WorldMap tables in my
> GIS database to make maps for both of these projects.  How do I
> reference a table that's in another database? Or should I organize my
> PostgreSQL data differently?

You can use dblink for this purpose:


http://www.postgresonline.com/journal/index.php?/archives/44-Using-DbLink-to-access-other-PostgreSQL-Databases-and-Servers.html


--
Guy Rouillier

В списке pgsql-general по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Postgres memory question
Следующее
От: Kobus Wolvaardt
Дата:
Сообщение: Re: Postgres memory question