45 elog(
ERROR,
"BitmapOr node does not support ExecProcNode call convention");
79 bitmaporstate->
ps.
state = estate;
82 bitmaporstate->
nplans = nplans;
103 return bitmaporstate;
131 for (
i = 0;
i < nplans;
i++)
155 if (subresult != result)
156 elog(
ERROR,
"unrecognized result from subplan");
164 elog(
ERROR,
"unrecognized result from subplan");
178 elog(
ERROR,
"BitmapOr doesn't support zero inputs");
184 return (
Node *) result;
211 for (
i = 0;
i < nplans;
i++)
#define Assert(condition)
void ExecReScan(PlanState *node)
void ExecEndNode(PlanState *node)
Node * MultiExecProcNode(PlanState *node)
PlanState * ExecInitNode(Plan *node, EState *estate, int eflags)
void UpdateChangedParamSet(PlanState *node, Bitmapset *newchg)
#define EXEC_FLAG_BACKWARD
void InstrStartNode(Instrumentation *instr)
void InstrStopNode(Instrumentation *instr, double nTuples)
void * palloc0(Size size)
void ExecEndBitmapOr(BitmapOrState *node)
BitmapOrState * ExecInitBitmapOr(BitmapOr *node, EState *estate, int eflags)
Node * MultiExecBitmapOr(BitmapOrState *node)
void ExecReScanBitmapOr(BitmapOrState *node)
static TupleTableSlot * ExecBitmapOr(PlanState *pstate)
#define IsA(nodeptr, _type_)
static int list_length(const List *l)
struct dsa_area * es_query_dsa
Instrumentation * instrument
ExecProcNodeMtd ExecProcNode
void tbm_free(TIDBitmap *tbm)
TIDBitmap * tbm_create(long maxbytes, dsa_area *dsa)
void tbm_union(TIDBitmap *a, const TIDBitmap *b)