Re: [GENERAL] Queries across multiple databases  (was: SELECT from a table in another database).

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: [GENERAL] Queries across multiple databases  (was: SELECT from a table in another database).
Дата
Msg-id 004c01c0e214$ce6c4800$1001a8c0@archonet.com
обсуждение исходный текст
Ответ на Queries across multiple databases  (was: SELECTfrom a table in another database).  (Andrew Rawnsley <ronz@ravensfield.com>)
Список pgsql-hackers
From: "Zak McGregor" <zak@mighty.co.za>

> On Mon, 21 May 2001 07:55:13 -0400
> Andrew Rawnsley <ronz@ravensfield.com> wrote:
>
> > If I ever come up with said schema-dropping patch, and anyone else
> wants it,
> > let me know.
>
> I'd dance a happy jig ;-)
>
> I'm not sure whether it is quite the way to do it, but I'd have a better
> time with things if I could span databases in a single request. Are
> there theoretical problems with spanning databases in a single query? Is
> it a feature of bad database design & implementation?

I think the developers are planning full schema support for the relatively
near future (possibly even 7.2, but check the archives and see what's been
said). Although it looks easy to access a table from another database,
things can rapidly become more complicated as you start having to deal with
transactions, triggers, rules, constraints...

- Richard Huxton


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

Предыдущее
От: John Reid
Дата:
Сообщение: Re: possible DOMAIN implementation
Следующее
От: Jan Wieck
Дата:
Сообщение: PL/pgSQL CURSOR support