PostgreSQL Source Code git master
|
Go to the source code of this file.
Functions | |
BitmapIndexScanState * | ExecInitBitmapIndexScan (BitmapIndexScan *node, EState *estate, int eflags) |
Node * | MultiExecBitmapIndexScan (BitmapIndexScanState *node) |
void | ExecEndBitmapIndexScan (BitmapIndexScanState *node) |
void | ExecReScanBitmapIndexScan (BitmapIndexScanState *node) |
void | ExecBitmapIndexScanEstimate (BitmapIndexScanState *node, ParallelContext *pcxt) |
void | ExecBitmapIndexScanInitializeDSM (BitmapIndexScanState *node, ParallelContext *pcxt) |
void | ExecBitmapIndexScanInitializeWorker (BitmapIndexScanState *node, ParallelWorkerContext *pwcxt) |
void | ExecBitmapIndexScanRetrieveInstrumentation (BitmapIndexScanState *node) |
void ExecBitmapIndexScanEstimate | ( | BitmapIndexScanState * | node, |
ParallelContext * | pcxt | ||
) |
Definition at line 353 of file nodeBitmapIndexscan.c.
References ParallelContext::estimator, PlanState::instrument, ParallelContext::nworkers, ScanState::ps, shm_toc_estimate_chunk, shm_toc_estimate_keys, and BitmapIndexScanState::ss.
Referenced by ExecParallelEstimate().
void ExecBitmapIndexScanInitializeDSM | ( | BitmapIndexScanState * | node, |
ParallelContext * | pcxt | ||
) |
Definition at line 377 of file nodeBitmapIndexscan.c.
References BitmapIndexScanState::biss_SharedInfo, PlanState::instrument, SharedIndexScanInstrumentation::num_workers, ParallelContext::nworkers, PlanState::plan, Plan::plan_node_id, ScanState::ps, shm_toc_allocate(), shm_toc_insert(), BitmapIndexScanState::ss, and ParallelContext::toc.
Referenced by ExecParallelInitializeDSM().
void ExecBitmapIndexScanInitializeWorker | ( | BitmapIndexScanState * | node, |
ParallelWorkerContext * | pwcxt | ||
) |
Definition at line 406 of file nodeBitmapIndexscan.c.
References BitmapIndexScanState::biss_SharedInfo, PlanState::instrument, PlanState::plan, Plan::plan_node_id, ScanState::ps, shm_toc_lookup(), BitmapIndexScanState::ss, and ParallelWorkerContext::toc.
Referenced by ExecParallelInitializeWorker().
void ExecBitmapIndexScanRetrieveInstrumentation | ( | BitmapIndexScanState * | node | ) |
Definition at line 424 of file nodeBitmapIndexscan.c.
References BitmapIndexScanState::biss_SharedInfo, SharedIndexScanInstrumentation::num_workers, and palloc().
Referenced by ExecParallelRetrieveInstrumentation().
void ExecEndBitmapIndexScan | ( | BitmapIndexScanState * | node | ) |
Definition at line 175 of file nodeBitmapIndexscan.c.
References Assert(), BitmapIndexScanState::biss_Instrument, BitmapIndexScanState::biss_RelationDesc, BitmapIndexScanState::biss_ScanDesc, BitmapIndexScanState::biss_SharedInfo, index_close(), index_endscan(), IsParallelWorker, NoLock, IndexScanInstrumentation::nsearches, ParallelWorkerNumber, and SharedIndexScanInstrumentation::winstrument.
Referenced by ExecEndNode().
BitmapIndexScanState * ExecInitBitmapIndexScan | ( | BitmapIndexScan * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 223 of file nodeBitmapIndexscan.c.
References Assert(), BitmapIndexScanState::biss_ArrayKeys, BitmapIndexScanState::biss_Instrument, BitmapIndexScanState::biss_NumArrayKeys, BitmapIndexScanState::biss_NumRuntimeKeys, BitmapIndexScanState::biss_NumScanKeys, BitmapIndexScanState::biss_RelationDesc, BitmapIndexScanState::biss_result, BitmapIndexScanState::biss_RuntimeContext, BitmapIndexScanState::biss_RuntimeKeys, BitmapIndexScanState::biss_RuntimeKeysReady, BitmapIndexScanState::biss_ScanDesc, BitmapIndexScanState::biss_ScanKeys, EState::es_snapshot, EXEC_FLAG_BACKWARD, EXEC_FLAG_EXPLAIN_ONLY, EXEC_FLAG_MARK, exec_rt_fetch(), ExecAssignExprContext(), ExecBitmapIndexScan(), ExecIndexBuildScanKeys(), PlanState::ExecProcNode, index_beginscan_bitmap(), index_open(), index_rescan(), BitmapIndexScan::indexid, BitmapIndexScan::indexqual, makeNode, PlanState::plan, ScanState::ps, PlanState::ps_ExprContext, BitmapIndexScan::scan, Scan::scanrelid, BitmapIndexScanState::ss, ScanState::ss_currentRelation, ScanState::ss_currentScanDesc, and PlanState::state.
Referenced by ExecInitNode().
void ExecReScanBitmapIndexScan | ( | BitmapIndexScanState * | node | ) |
Definition at line 131 of file nodeBitmapIndexscan.c.
References BitmapIndexScanState::biss_ArrayKeys, BitmapIndexScanState::biss_NumArrayKeys, BitmapIndexScanState::biss_NumRuntimeKeys, BitmapIndexScanState::biss_NumScanKeys, BitmapIndexScanState::biss_RuntimeContext, BitmapIndexScanState::biss_RuntimeKeys, BitmapIndexScanState::biss_RuntimeKeysReady, BitmapIndexScanState::biss_ScanDesc, BitmapIndexScanState::biss_ScanKeys, ExecIndexEvalArrayKeys(), ExecIndexEvalRuntimeKeys(), index_rescan(), and ResetExprContext.
Referenced by ExecReScan().
Node * MultiExecBitmapIndexScan | ( | BitmapIndexScanState * | node | ) |
Definition at line 49 of file nodeBitmapIndexscan.c.
References BitmapIndexScanState::biss_ArrayKeys, BitmapIndexScanState::biss_NumArrayKeys, BitmapIndexScanState::biss_NumRuntimeKeys, BitmapIndexScanState::biss_NumScanKeys, BitmapIndexScanState::biss_result, BitmapIndexScanState::biss_RuntimeKeysReady, BitmapIndexScanState::biss_ScanDesc, BitmapIndexScanState::biss_ScanKeys, CHECK_FOR_INTERRUPTS, EState::es_query_dsa, ExecIndexAdvanceArrayKeys(), ExecReScan(), index_getbitmap(), index_rescan(), InstrStartNode(), InstrStopNode(), PlanState::instrument, PlanState::plan, ScanState::ps, BitmapIndexScanState::ss, PlanState::state, tbm_create(), and work_mem.
Referenced by MultiExecProcNode().