Re: Status of FDW pushdowns
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Status of FDW pushdowns |
| Дата | |
| Msg-id | 20131127132934.GA5778@eldon.alvh.no-ip.org обсуждение исходный текст |
| Ответ на | Re: Status of FDW pushdowns (Shigeru Hanada <shigeru.hanada@gmail.com>) |
| Ответы |
Re: Status of FDW pushdowns
Re: Status of FDW pushdowns |
| Список | pgsql-hackers |
Shigeru Hanada escribió:
> SQL/MED standard doesn't say much about PASS THROUGH mode, especially
> about interaction between client. Besides it, I think it would be
> nice to allow arbitrary FDW as backend of dblink interface like this:
>
> postgres=> SELECT dblink_connect('con1', 'server name of an FDW');
> postgres=> SELECT * FROM dblink('con1', 'some query written in remote
> syntax') as t(/* record type definition */...);
>
> This provides a way to execute query without defining foreign table.
Seems to me that if you want to read remote tables without creating a
foreign table, you could define them locally using something like the
WITH syntax and then use them normally in the rest of the query.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: