Re: Status of FDW pushdowns

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Status of FDW pushdowns
Дата
Msg-id m2iovelzd2.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Status of FDW pushdowns  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Status of FDW pushdowns  (Shigeru Hanada <shigeru.hanada@gmail.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> 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.

I guess what's needed here is a kind of barrier that allows pushing a
whole arbitrary subquery (with joins and quals and whatnot) down to the
remote side.

My current thinking about how to solve that would be to add a notion of
FOREIGN VIEW in our system, which would basically implement that barrier
and send the view definition on the remote, with known quals values as
constants, or something like that.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Handling GIN incomplete splits
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: [GENERAL] pg_upgrade ?deficiency