Re: Arguments to foreign tables?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Arguments to foreign tables?
Дата
Msg-id 13981.1352217650@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Arguments to foreign tables?  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> (On another thought: why do Foreign Scans get to avoid the
> materialization we hate with SRFs?)

[ shrug... ]  That works both ways.  If it would be convenient for an
FDW to return a tuplestore, which is hardly unlikely, it's out of luck;
it has to do the expansion itself.

The fact that nodeFunctionscan forces materialization is not by any
means a fundamental property.  It's just that nobody bothered to
implement two code paths there.
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: MySQL search query is not executing in Postgres DB
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Arguments to foreign tables?