Re: Remote connections?

Поиск
Список
Период
Сортировка
От mlw
Тема Re: Remote connections?
Дата
Msg-id 3C10C6B0.865669C1@mohawksoft.com
обсуждение исходный текст
Ответ на Re: Remote connections?  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
The dblink code is a very cool idea.

It got me thinking, what if, just thinking out load here, it was redesigned as
something a little more grandeous.

Imagine this:


select dblink('select * from table', 'table_name', 'db=oracle.test user=chris
passwd=knight', 1) as t1, dblink('table2_name', 1) as t2


Just something to think about. 

The first instance of dblink would take 4 parameters: query, table which it
returns, connect string, and link token.

The second instance of dblink would just take the name of the table which it
returns and a link token.

The cool bit is the notion that the query string could specify different
databases or even .DBF libraries. 

Just something to think about.

It would REALLY be great if functions could return multiple tuples!


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

Предыдущее
От: merlin
Дата:
Сообщение: OpenBSD snapshot failure
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Intermediate report for AIX 5L port