PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "access/genam.h"
#include "executor/executor.h"
#include "executor/nodeBitmapIndexscan.h"
#include "executor/nodeIndexscan.h"
#include "miscadmin.h"
Go to the source code of this file.
Functions | |
static TupleTableSlot * | ExecBitmapIndexScan (PlanState *pstate) |
Node * | MultiExecBitmapIndexScan (BitmapIndexScanState *node) |
void | ExecReScanBitmapIndexScan (BitmapIndexScanState *node) |
void | ExecEndBitmapIndexScan (BitmapIndexScanState *node) |
BitmapIndexScanState * | ExecInitBitmapIndexScan (BitmapIndexScan *node, EState *estate, int eflags) |
|
static |
void ExecEndBitmapIndexScan | ( | BitmapIndexScanState * | node | ) |
Definition at line 175 of file nodeBitmapIndexscan.c.
References BitmapIndexScanState::biss_RelationDesc, BitmapIndexScanState::biss_ScanDesc, index_close(), index_endscan(), and NoLock.
Referenced by ExecEndNode().
BitmapIndexScanState* ExecInitBitmapIndexScan | ( | BitmapIndexScan * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 202 of file nodeBitmapIndexscan.c.
References Assert, BitmapIndexScanState::biss_ArrayKeys, 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().