Re: accessing two databases at the same time

Поиск
Список
Период
Сортировка
От Ian Barwick
Тема Re: accessing two databases at the same time
Дата
Msg-id 200303052154.43604.barwick@gmx.net
обсуждение исходный текст
Ответ на accessing two databases at the same time  (Peter Choe <choepete@mindspring.com>)
Список pgsql-general
On Wednesday 05 March 2003 21:17, Peter Choe wrote:
> if i have database 'A' with a table called 'a' and another database 'B'
> with a table called 'b', is there a way to do a select using both databases
> and their tables?
>
> select * from A.a, B.b;

Not directly, see:

http://www.postgresql.org/docs/faqs/FAQ.html#4.24

The schema functionality added in version 7.3. may well meet
your needs though, e.g. you can define schema "A" and
schema "B" and perform the same sort of query as above.

Ian Barwick
barwick@gmx.net


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

Предыдущее
От: Darko Prenosil
Дата:
Сообщение: Re: accessing two databases at the same time
Следующее
От: Tariq Muhammad
Дата:
Сообщение: Re: accessing two databases at the same time