Thread: Push down

Push down

From
Yacov Wolfowicz
Date:
Hi all,

I'm writing a foreign data wrapper in which i'm taking control of various aspects of SELECT queries (such as join, order by, count, sum etc.).

Is it possible? for example, when trying to count(*), i see that pg supplies an empty list of columns to select from, and probably does the counting by itself. The same goes for sum and order by and so on.


Help will be much appreciated :-)   Thanks