|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Functions | |
| BitmapHeapScanState * | ExecInitBitmapHeapScan (BitmapHeapScan *node, EState *estate, int eflags) |
| void | ExecEndBitmapHeapScan (BitmapHeapScanState *node) |
| void | ExecReScanBitmapHeapScan (BitmapHeapScanState *node) |
| void | ExecBitmapHeapEstimate (BitmapHeapScanState *node, ParallelContext *pcxt) |
| void | ExecBitmapHeapInitializeDSM (BitmapHeapScanState *node, ParallelContext *pcxt) |
| void | ExecBitmapHeapReInitializeDSM (BitmapHeapScanState *node, ParallelContext *pcxt) |
| void | ExecBitmapHeapInitializeWorker (BitmapHeapScanState *node, ParallelWorkerContext *pwcxt) |
| void | ExecBitmapHeapInstrumentEstimate (BitmapHeapScanState *node, ParallelContext *pcxt) |
| void | ExecBitmapHeapInstrumentInitDSM (BitmapHeapScanState *node, ParallelContext *pcxt) |
| void | ExecBitmapHeapInstrumentInitWorker (BitmapHeapScanState *node, ParallelWorkerContext *pwcxt) |
| void | ExecBitmapHeapRetrieveInstrumentation (BitmapHeapScanState *node) |
|
extern |
Definition at line 510 of file nodeBitmapHeapscan.c.
References ParallelContext::estimator, MAXALIGN, shm_toc_estimate_chunk, and shm_toc_estimate_keys.
Referenced by ExecParallelEstimate().
|
extern |
Definition at line 525 of file nodeBitmapHeapscan.c.
References BM_INITIAL, ConditionVariableInit(), ParallelBitmapHeapState::cv, EState::es_query_dsa, fb(), MAXALIGN, ParallelBitmapHeapState::mutex, PlanState::plan, Plan::plan_node_id, ScanState::ps, BitmapHeapScanState::pstate, shm_toc_allocate(), shm_toc_insert(), SpinLockInit(), BitmapHeapScanState::ss, ParallelBitmapHeapState::state, PlanState::state, ParallelBitmapHeapState::tbmiterator, and ParallelContext::toc.
Referenced by ExecParallelInitializeDSM().
|
extern |
Definition at line 583 of file nodeBitmapHeapscan.c.
References Assert, EState::es_query_dsa, fb(), PlanState::plan, Plan::plan_node_id, ScanState::ps, BitmapHeapScanState::pstate, shm_toc_lookup(), BitmapHeapScanState::ss, and PlanState::state.
Referenced by ExecParallelInitializeWorker().
|
extern |
Definition at line 597 of file nodeBitmapHeapscan.c.
References add_size(), ParallelContext::estimator, fb(), PlanState::instrument, mul_size(), ParallelContext::nworkers, ScanState::ps, shm_toc_estimate_chunk, shm_toc_estimate_keys, and BitmapHeapScanState::ss.
Referenced by ExecParallelEstimate().
|
extern |
Definition at line 615 of file nodeBitmapHeapscan.c.
References add_size(), fb(), PlanState::instrument, mul_size(), SharedBitmapHeapInstrumentation::num_workers, ParallelContext::nworkers, PARALLEL_KEY_SCAN_INSTRUMENT_OFFSET, PlanState::plan, Plan::plan_node_id, ScanState::ps, shm_toc_allocate(), shm_toc_insert(), BitmapHeapScanState::sinstrument, BitmapHeapScanState::ss, and ParallelContext::toc.
Referenced by ExecParallelInitializeDSM().
|
extern |
Definition at line 641 of file nodeBitmapHeapscan.c.
References fb(), PlanState::instrument, PARALLEL_KEY_SCAN_INSTRUMENT_OFFSET, PlanState::plan, Plan::plan_node_id, ScanState::ps, shm_toc_lookup(), BitmapHeapScanState::sinstrument, and BitmapHeapScanState::ss.
Referenced by ExecParallelInitializeWorker().
|
extern |
Definition at line 558 of file nodeBitmapHeapscan.c.
References BM_INITIAL, DsaPointerIsValid, EState::es_query_dsa, fb(), InvalidDsaPointer, ScanState::ps, BitmapHeapScanState::pstate, BitmapHeapScanState::ss, ParallelBitmapHeapState::state, PlanState::state, tbm_free_shared_area(), and ParallelBitmapHeapState::tbmiterator.
Referenced by ExecParallelReInitializeDSM().
|
extern |
Definition at line 661 of file nodeBitmapHeapscan.c.
References fb(), memcpy(), SharedBitmapHeapInstrumentation::num_workers, palloc(), and BitmapHeapScanState::sinstrument.
Referenced by ExecParallelRetrieveInstrumentation().
|
extern |
Definition at line 315 of file nodeBitmapHeapscan.c.
References AccumulateIOStats(), Assert, BitmapHeapScanInstrumentation::exact_pages, ExecEndNode(), fb(), TableScanInstrumentation::io, IsParallelWorker, BitmapHeapScanInstrumentation::lossy_pages, outerPlanState, ParallelWorkerNumber, TableScanDescData::rs_instrument, SharedBitmapHeapInstrumentation::sinstrument, BitmapHeapScanState::sinstrument, BitmapHeapScanState::ss, ScanState::ss_currentScanDesc, BitmapHeapScanState::stats, table_endscan(), BitmapHeapScanState::tbm, tbm_end_iterate(), tbm_exhausted(), and tbm_free().
Referenced by ExecEndNode().
|
extern |
Definition at line 389 of file nodeBitmapHeapscan.c.
References Assert, BitmapHeapScan::bitmapqualorig, EState::es_snapshot, EXEC_FLAG_BACKWARD, EXEC_FLAG_MARK, ExecAssignExprContext(), ExecAssignScanProjectionInfo(), ExecBitmapHeapScan(), ExecInitNode(), ExecInitQual(), ExecInitResultTypeTL(), ExecInitScanTupleSlot(), ExecOpenScanRelation(), fb(), IsMVCCSnapshot, makeNode, outerPlan, outerPlanState, RelationGetDescr, BitmapHeapScan::scan, Scan::scanrelid, table_slot_callbacks(), and TTS_FLAG_OBEYS_NOT_NULL_CONSTRAINTS.
Referenced by ExecInitNode().
|
extern |
Definition at line 274 of file nodeBitmapHeapscan.c.
References ExecReScan(), ExecScanReScan(), fb(), BitmapHeapScanState::initialized, outerPlan, outerPlanState, BitmapHeapScanState::recheck, TableScanDescData::rs_tbmiterator, BitmapHeapScanState::ss, ScanState::ss_currentScanDesc, TableScanDescData::st, table_rescan(), BitmapHeapScanState::tbm, tbm_end_iterate(), tbm_exhausted(), and tbm_free().
Referenced by ExecReScan().