Re: accessing two databases at the same time

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: accessing two databases at the same time
Дата
Msg-id 1046912866.10615.22.camel@tokyo
обсуждение исходный текст
Ответ на Re: accessing two databases at the same time  (Tariq Muhammad <tmuhamma@libertyrms.com>)
Список pgsql-general
On Wed, 2003-03-05 at 16:09, Tariq Muhammad wrote:
> On Wed, 5 Mar 2003, 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;
> >
>
> You may wanna have a look at dblink under contrib.

Or put the data into 2 different schemas -- a single query can access
relations in different schemas.

Cheers,

Neil
--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC




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

Предыдущее
От: P G
Дата:
Сообщение: Where are the current install instructions?
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: Where are the current install instructions?