summaryrefslogtreecommitdiff
path: root/src/include/executor/nodeHash.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/nodeHash.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/nodeHash.h')
-rw-r--r--src/include/executor/nodeHash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/executor/nodeHash.h b/src/include/executor/nodeHash.h
index 68a1ecdda1..fe5eb62760 100644
--- a/src/include/executor/nodeHash.h
+++ b/src/include/executor/nodeHash.h
@@ -17,7 +17,7 @@
#include "nodes/execnodes.h"
extern int ExecCountSlotsHash(Hash *node);
-extern HashState *ExecInitHash(Hash *node, EState *estate);
+extern HashState *ExecInitHash(Hash *node, EState *estate, int eflags);
extern TupleTableSlot *ExecHash(HashState *node);
extern Node *MultiExecHash(HashState *node);
extern void ExecEndHash(HashState *node);