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  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Re: Status of FDW pushdowns  (David Fetter <david@fetter.org>)
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Incomplete freezing when truncating a relation during vacuum
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Traffic jams in fn_extra