Обсуждение: Access aggregation functions in plan stage of fdw?

Поиск
Список
Период
Сортировка

Access aggregation functions in plan stage of fdw?

От
Ian Pye
Дата:
<p dir="ltr">I'm trying to write a fdw where aggregate functions are pushed down to the underlaying data store. I can't
finda way to get a list of these out of the query* struct however. <p dir="ltr">Is this possible? Any pointers
appreciated.Failing this, can I just get the original query as a string? 

Re: Access aggregation functions in plan stage of fdw?

От
Tom Lane
Дата:
Ian Pye <ianpye@gmail.com> writes:
> I'm trying to write a fdw where aggregate functions are pushed down to the
> underlaying data store.

> Is this possible?

Not yet.  You can find various speculation about doing this in the
pgsql-hackers archives from the last month or so.  It's going to require
some significant planner-infrastructure work, IMO, but we might have it
for 9.5.
        regards, tom lane