summaryrefslogtreecommitdiff
path: root/src/include/executor/nodeFunctionscan.h
diff options
context:
space:
mode:
authorTom Lane2006-02-28 04:10:28 +0000
committerTom Lane2006-02-28 04:10:28 +0000
commitd34f0206e176548bc9d9110d30d18ddcf7b91024 (patch)
treed376a0d6e80d1be633efc7e9934ffcc75ae1474a /src/include/executor/nodeFunctionscan.h
parentc10b5c30e1f7cbc1ebeb01f3a0ec9181580523c5 (diff)
Extend the ExecInitNode API so that plan nodes receive a set of flag
bits indicating which optional capabilities can actually be exercised at runtime. This will allow Sort and Material nodes, and perhaps later other nodes, to avoid unnecessary overhead in common cases. This commit just adds the infrastructure and arranges to pass the correct flag values down to plan nodes; none of the actual optimizations are here yet. I'm committing this separately in case anyone wants to measure the added overhead. (It should be negligible.) Simon Riggs and Tom Lane
Diffstat (limited to 'src/include/executor/nodeFunctionscan.h')
-rw-r--r--src/include/executor/nodeFunctionscan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/executor/nodeFunctionscan.h b/src/include/executor/nodeFunctionscan.h
index f1514b9a82..2aa210003e 100644
--- a/src/include/executor/nodeFunctionscan.h
+++ b/src/include/executor/nodeFunctionscan.h
@@ -17,7 +17,7 @@
#include "nodes/execnodes.h"
extern int ExecCountSlotsFunctionScan(FunctionScan *node);
-extern FunctionScanState *ExecInitFunctionScan(FunctionScan *node, EState *estate);
+extern FunctionScanState *ExecInitFunctionScan(FunctionScan *node, EState *estate, int eflags);
extern TupleTableSlot *ExecFunctionScan(FunctionScanState *node);
extern void ExecEndFunctionScan(FunctionScanState *node);
extern void ExecFunctionMarkPos(FunctionScanState *node);