Re: two databases

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: two databases
Дата
Msg-id 3D932D8E.12148.139DD2CA@localhost
обсуждение исходный текст
Ответ на two databases  ("mourad_dhambri" <mourad_dhambri@voila.fr>)
Список pgsql-general
On 26 Sep 2002 at 12:19, mourad_dhambri wrote:

> I am creating a query in a database db1 that retrieves data from another database db2.
> How can I do this in PostGres?
> In Oracle I can write "select * from db2.table1.field1".

You can use dblink function in contrib that allows you to create database links
just like oracle..(OK may not be comparable but still..)

HTH

Bye
 Shridhar

--
"How should I know if it works?  That's what beta testers are for.  I onlycoded
it."(Attributed to Linus Torvalds, somewhere in a posting)


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

Предыдущее
От: "mourad_dhambri"
Дата:
Сообщение: two databases
Следующее
От: "Peter Alberer"
Дата:
Сообщение: Re: Adding "on delete cascade" after table creation ?