PostgreSQL Source Code  git master
nodeBitmapHeapscan.h File Reference
#include "access/parallel.h"
#include "nodes/execnodes.h"
Include dependency graph for nodeBitmapHeapscan.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BitmapHeapScanStateExecInitBitmapHeapScan (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)
 

Function Documentation

◆ ExecBitmapHeapEstimate()

void ExecBitmapHeapEstimate ( BitmapHeapScanState node,
ParallelContext pcxt 
)

Definition at line 856 of file nodeBitmapHeapscan.c.

References add_size(), EState::es_snapshot, EstimateSnapshotSpace(), ParallelContext::estimator, offsetof, ScanState::ps, BitmapHeapScanState::pscan_len, shm_toc_estimate_chunk, shm_toc_estimate_keys, BitmapHeapScanState::ss, and PlanState::state.

Referenced by ExecParallelEstimate().

858 {
859  EState *estate = node->ss.ps.state;
860 
862  phs_snapshot_data),
864 
866  shm_toc_estimate_keys(&pcxt->estimator, 1);
867 }
shm_toc_estimator estimator
Definition: parallel.h:42
Snapshot es_snapshot
Definition: execnodes.h:508
EState * state
Definition: execnodes.h:947
#define shm_toc_estimate_chunk(e, sz)
Definition: shm_toc.h:51
PlanState ps
Definition: execnodes.h:1332
Size EstimateSnapshotSpace(Snapshot snap)
Definition: snapmgr.c:2078
Size add_size(Size s1, Size s2)
Definition: shmem.c:498
#define shm_toc_estimate_keys(e, cnt)
Definition: shm_toc.h:53
#define offsetof(type, field)
Definition: c.h:668

◆ ExecBitmapHeapInitializeDSM()

void ExecBitmapHeapInitializeDSM ( BitmapHeapScanState node,
ParallelContext pcxt 
)

Definition at line 876 of file nodeBitmapHeapscan.c.

References BM_INITIAL, ConditionVariableInit(), ParallelBitmapHeapState::cv, EState::es_query_dsa, EState::es_snapshot, ParallelBitmapHeapState::mutex, ParallelBitmapHeapState::phs_snapshot_data, PlanState::plan, Plan::plan_node_id, ParallelBitmapHeapState::prefetch_iterator, ParallelBitmapHeapState::prefetch_pages, ParallelBitmapHeapState::prefetch_target, ScanState::ps, BitmapHeapScanState::pscan_len, BitmapHeapScanState::pstate, SerializeSnapshot(), shm_toc_allocate(), shm_toc_insert(), SpinLockInit, BitmapHeapScanState::ss, PlanState::state, ParallelBitmapHeapState::state, ParallelBitmapHeapState::tbmiterator, and ParallelContext::toc.

Referenced by ExecParallelInitializeDSM().

878 {
879  ParallelBitmapHeapState *pstate;
880  EState *estate = node->ss.ps.state;
881  dsa_area *dsa = node->ss.ps.state->es_query_dsa;
882 
883  /* If there's no DSA, there are no workers; initialize nothing. */
884  if (dsa == NULL)
885  return;
886 
887  pstate = shm_toc_allocate(pcxt->toc, node->pscan_len);
888 
889  pstate->tbmiterator = 0;
890  pstate->prefetch_iterator = 0;
891 
892  /* Initialize the mutex */
893  SpinLockInit(&pstate->mutex);
894  pstate->prefetch_pages = 0;
895  pstate->prefetch_target = 0;
896  pstate->state = BM_INITIAL;
897 
898  ConditionVariableInit(&pstate->cv);
900 
901  shm_toc_insert(pcxt->toc, node->ss.ps.plan->plan_node_id, pstate);
902  node->pstate = pstate;
903 }
struct dsa_area * es_query_dsa
Definition: execnodes.h:589
#define SpinLockInit(lock)
Definition: spin.h:60
int plan_node_id
Definition: plannodes.h:141
Snapshot es_snapshot
Definition: execnodes.h:508
EState * state
Definition: execnodes.h:947
PlanState ps
Definition: execnodes.h:1332
void ConditionVariableInit(ConditionVariable *cv)
ParallelBitmapHeapState * pstate
Definition: execnodes.h:1604
void SerializeSnapshot(Snapshot snapshot, char *start_address)
Definition: snapmgr.c:2102
dsa_pointer tbmiterator
Definition: execnodes.h:1549
Plan * plan
Definition: execnodes.h:945
dsa_pointer prefetch_iterator
Definition: execnodes.h:1550
SharedBitmapState state
Definition: execnodes.h:1554
void * shm_toc_allocate(shm_toc *toc, Size nbytes)
Definition: shm_toc.c:88
char phs_snapshot_data[FLEXIBLE_ARRAY_MEMBER]
Definition: execnodes.h:1556
Definition: dsa.c:354
void shm_toc_insert(shm_toc *toc, uint64 key, void *address)
Definition: shm_toc.c:171
ConditionVariable cv
Definition: execnodes.h:1555
shm_toc * toc
Definition: parallel.h:45

◆ ExecBitmapHeapInitializeWorker()

void ExecBitmapHeapInitializeWorker ( BitmapHeapScanState node,
ParallelWorkerContext pwcxt 
)

Definition at line 941 of file nodeBitmapHeapscan.c.

References Assert, EState::es_query_dsa, ParallelBitmapHeapState::phs_snapshot_data, PlanState::plan, Plan::plan_node_id, ScanState::ps, BitmapHeapScanState::pstate, RestoreSnapshot(), shm_toc_lookup(), BitmapHeapScanState::ss, ScanState::ss_currentScanDesc, PlanState::state, table_scan_update_snapshot(), and ParallelWorkerContext::toc.

Referenced by ExecParallelInitializeWorker().

943 {
944  ParallelBitmapHeapState *pstate;
945  Snapshot snapshot;
946 
947  Assert(node->ss.ps.state->es_query_dsa != NULL);
948 
949  pstate = shm_toc_lookup(pwcxt->toc, node->ss.ps.plan->plan_node_id, false);
950  node->pstate = pstate;
951 
952  snapshot = RestoreSnapshot(pstate->phs_snapshot_data);
954 }
void table_scan_update_snapshot(TableScanDesc scan, Snapshot snapshot)
Definition: tableam.c:124
struct dsa_area * es_query_dsa
Definition: execnodes.h:589
Snapshot RestoreSnapshot(char *start_address)
Definition: snapmgr.c:2161
int plan_node_id
Definition: plannodes.h:141
struct TableScanDescData * ss_currentScanDesc
Definition: execnodes.h:1334
EState * state
Definition: execnodes.h:947
PlanState ps
Definition: execnodes.h:1332
ParallelBitmapHeapState * pstate
Definition: execnodes.h:1604
Plan * plan
Definition: execnodes.h:945
#define Assert(condition)
Definition: c.h:745
char phs_snapshot_data[FLEXIBLE_ARRAY_MEMBER]
Definition: execnodes.h:1556
void * shm_toc_lookup(shm_toc *toc, uint64 key, bool noError)
Definition: shm_toc.c:232

◆ ExecBitmapHeapReInitializeDSM()

void ExecBitmapHeapReInitializeDSM ( BitmapHeapScanState node,
ParallelContext pcxt 
)

Definition at line 912 of file nodeBitmapHeapscan.c.

References BM_INITIAL, DsaPointerIsValid, EState::es_query_dsa, InvalidDsaPointer, ParallelBitmapHeapState::prefetch_iterator, ScanState::ps, BitmapHeapScanState::pstate, BitmapHeapScanState::ss, PlanState::state, ParallelBitmapHeapState::state, tbm_free_shared_area(), and ParallelBitmapHeapState::tbmiterator.

Referenced by ExecParallelReInitializeDSM().

914 {
915  ParallelBitmapHeapState *pstate = node->pstate;
916  dsa_area *dsa = node->ss.ps.state->es_query_dsa;
917 
918  /* If there's no DSA, there are no workers; do nothing. */
919  if (dsa == NULL)
920  return;
921 
922  pstate->state = BM_INITIAL;
923 
924  if (DsaPointerIsValid(pstate->tbmiterator))
925  tbm_free_shared_area(dsa, pstate->tbmiterator);
926 
929 
930  pstate->tbmiterator = InvalidDsaPointer;
932 }
struct dsa_area * es_query_dsa
Definition: execnodes.h:589
#define InvalidDsaPointer
Definition: dsa.h:78
EState * state
Definition: execnodes.h:947
PlanState ps
Definition: execnodes.h:1332
ParallelBitmapHeapState * pstate
Definition: execnodes.h:1604
dsa_pointer tbmiterator
Definition: execnodes.h:1549
void tbm_free_shared_area(dsa_area *dsa, dsa_pointer dp)
Definition: tidbitmap.c:340
dsa_pointer prefetch_iterator
Definition: execnodes.h:1550
SharedBitmapState state
Definition: execnodes.h:1554
#define DsaPointerIsValid(x)
Definition: dsa.h:81
Definition: dsa.c:354

◆ ExecEndBitmapHeapScan()

void ExecEndBitmapHeapScan ( BitmapHeapScanState node)

Definition at line 649 of file nodeBitmapHeapscan.c.

References ExecClearTuple(), ExecEndNode(), ExecFreeExprContext(), InvalidBuffer, outerPlanState, BitmapHeapScanState::prefetch_iterator, ScanState::ps, PlanState::ps_ResultTupleSlot, BitmapHeapScanState::pvmbuffer, ReleaseBuffer(), BitmapHeapScanState::shared_prefetch_iterator, BitmapHeapScanState::shared_tbmiterator, BitmapHeapScanState::ss, ScanState::ss_currentScanDesc, ScanState::ss_ScanTupleSlot, table_endscan(), BitmapHeapScanState::tbm, tbm_end_iterate(), tbm_end_shared_iterate(), tbm_free(), BitmapHeapScanState::tbmiterator, and BitmapHeapScanState::vmbuffer.

Referenced by ExecEndNode().

650 {
651  TableScanDesc scanDesc;
652 
653  /*
654  * extract information from the node
655  */
656  scanDesc = node->ss.ss_currentScanDesc;
657 
658  /*
659  * Free the exprcontext
660  */
661  ExecFreeExprContext(&node->ss.ps);
662 
663  /*
664  * clear out tuple table slots
665  */
666  if (node->ss.ps.ps_ResultTupleSlot)
669 
670  /*
671  * close down subplans
672  */
674 
675  /*
676  * release bitmaps and buffers if any
677  */
678  if (node->tbmiterator)
680  if (node->prefetch_iterator)
682  if (node->tbm)
683  tbm_free(node->tbm);
684  if (node->shared_tbmiterator)
686  if (node->shared_prefetch_iterator)
688  if (node->vmbuffer != InvalidBuffer)
689  ReleaseBuffer(node->vmbuffer);
690  if (node->pvmbuffer != InvalidBuffer)
691  ReleaseBuffer(node->pvmbuffer);
692 
693  /*
694  * close heap scan
695  */
696  table_endscan(scanDesc);
697 }
void tbm_end_iterate(TBMIterator *iterator)
Definition: tidbitmap.c:1145
static TupleTableSlot * ExecClearTuple(TupleTableSlot *slot)
Definition: tuptable.h:425
void ExecEndNode(PlanState *node)
Definition: execProcnode.c:543
TIDBitmap * tbm
Definition: execnodes.h:1587
#define InvalidBuffer
Definition: buf.h:25
struct TableScanDescData * ss_currentScanDesc
Definition: execnodes.h:1334
TupleTableSlot * ss_ScanTupleSlot
Definition: execnodes.h:1335
void ReleaseBuffer(Buffer buffer)
Definition: bufmgr.c:3518
void ExecFreeExprContext(PlanState *planstate)
Definition: execUtils.c:655
PlanState ps
Definition: execnodes.h:1332
TupleTableSlot * ps_ResultTupleSlot
Definition: execnodes.h:983
#define outerPlanState(node)
Definition: execnodes.h:1039
void tbm_free(TIDBitmap *tbm)
Definition: tidbitmap.c:321
TBMSharedIterator * shared_tbmiterator
Definition: execnodes.h:1602
TBMIterator * tbmiterator
Definition: execnodes.h:1588
static void table_endscan(TableScanDesc scan)
Definition: tableam.h:863
TBMIterator * prefetch_iterator
Definition: execnodes.h:1596
TBMSharedIterator * shared_prefetch_iterator
Definition: execnodes.h:1603
void tbm_end_shared_iterate(TBMSharedIterator *iterator)
Definition: tidbitmap.c:1157

◆ ExecInitBitmapHeapScan()

BitmapHeapScanState* ExecInitBitmapHeapScan ( BitmapHeapScan node,
EState estate,
int  eflags 
)

Definition at line 706 of file nodeBitmapHeapscan.c.

References Assert, BitmapHeapScan::bitmapqualorig, BitmapHeapScanState::can_skip_fetch, EState::es_snapshot, BitmapHeapScanState::exact_pages, EXEC_FLAG_BACKWARD, EXEC_FLAG_MARK, ExecAssignExprContext(), ExecAssignScanProjectionInfo(), ExecBitmapHeapScan(), ExecInitNode(), ExecInitQual(), ExecInitResultTypeTL(), ExecInitScanTupleSlot(), ExecOpenScanRelation(), PlanState::ExecProcNode, get_tablespace_io_concurrency(), BitmapHeapScanState::initialized, InvalidBuffer, IsMVCCSnapshot, BitmapHeapScanState::lossy_pages, makeNode, NIL, outerPlan, outerPlanState, Scan::plan, PlanState::plan, BitmapHeapScanState::prefetch_iterator, BitmapHeapScanState::prefetch_pages, BitmapHeapScanState::prefetch_target, ScanState::ps, BitmapHeapScanState::pscan_len, BitmapHeapScanState::pstate, BitmapHeapScanState::pvmbuffer, Plan::qual, PlanState::qual, RelationData::rd_rel, RelationGetDescr, BitmapHeapScanState::return_empty_tuples, BitmapHeapScan::scan, Scan::scanrelid, BitmapHeapScanState::shared_prefetch_iterator, BitmapHeapScanState::shared_tbmiterator, BitmapHeapScanState::ss, PlanState::state, table_beginscan_bm(), table_slot_callbacks(), Plan::targetlist, BitmapHeapScanState::tbm, BitmapHeapScanState::tbmiterator, BitmapHeapScanState::tbmres, and BitmapHeapScanState::vmbuffer.

Referenced by ExecInitNode().

707 {
708  BitmapHeapScanState *scanstate;
709  Relation currentRelation;
710 
711  /* check for unsupported flags */
712  Assert(!(eflags & (EXEC_FLAG_BACKWARD | EXEC_FLAG_MARK)));
713 
714  /*
715  * Assert caller didn't ask for an unsafe snapshot --- see comments at
716  * head of file.
717  */
719 
720  /*
721  * create state structure
722  */
723  scanstate = makeNode(BitmapHeapScanState);
724  scanstate->ss.ps.plan = (Plan *) node;
725  scanstate->ss.ps.state = estate;
726  scanstate->ss.ps.ExecProcNode = ExecBitmapHeapScan;
727 
728  scanstate->tbm = NULL;
729  scanstate->tbmiterator = NULL;
730  scanstate->tbmres = NULL;
731  scanstate->return_empty_tuples = 0;
732  scanstate->vmbuffer = InvalidBuffer;
733  scanstate->pvmbuffer = InvalidBuffer;
734  scanstate->exact_pages = 0;
735  scanstate->lossy_pages = 0;
736  scanstate->prefetch_iterator = NULL;
737  scanstate->prefetch_pages = 0;
738  scanstate->prefetch_target = 0;
739  scanstate->pscan_len = 0;
740  scanstate->initialized = false;
741  scanstate->shared_tbmiterator = NULL;
742  scanstate->shared_prefetch_iterator = NULL;
743  scanstate->pstate = NULL;
744 
745  /*
746  * We can potentially skip fetching heap pages if we do not need any
747  * columns of the table, either for checking non-indexable quals or for
748  * returning data. This test is a bit simplistic, as it checks the
749  * stronger condition that there's no qual or return tlist at all. But in
750  * most cases it's probably not worth working harder than that.
751  */
752  scanstate->can_skip_fetch = (node->scan.plan.qual == NIL &&
753  node->scan.plan.targetlist == NIL);
754 
755  /*
756  * Miscellaneous initialization
757  *
758  * create expression context for node
759  */
760  ExecAssignExprContext(estate, &scanstate->ss.ps);
761 
762  /*
763  * open the scan relation
764  */
765  currentRelation = ExecOpenScanRelation(estate, node->scan.scanrelid, eflags);
766 
767  /*
768  * initialize child nodes
769  */
770  outerPlanState(scanstate) = ExecInitNode(outerPlan(node), estate, eflags);
771 
772  /*
773  * get the scan type from the relation descriptor.
774  */
775  ExecInitScanTupleSlot(estate, &scanstate->ss,
776  RelationGetDescr(currentRelation),
777  table_slot_callbacks(currentRelation));
778 
779  /*
780  * Initialize result type and projection.
781  */
782  ExecInitResultTypeTL(&scanstate->ss.ps);
783  ExecAssignScanProjectionInfo(&scanstate->ss);
784 
785  /*
786  * initialize child expressions
787  */
788  scanstate->ss.ps.qual =
789  ExecInitQual(node->scan.plan.qual, (PlanState *) scanstate);
790  scanstate->bitmapqualorig =
791  ExecInitQual(node->bitmapqualorig, (PlanState *) scanstate);
792 
793  /*
794  * Maximum number of prefetches for the tablespace if configured,
795  * otherwise the current value of the effective_io_concurrency GUC.
796  */
797  scanstate->prefetch_maximum =
798  get_tablespace_io_concurrency(currentRelation->rd_rel->reltablespace);
799 
800  scanstate->ss.ss_currentRelation = currentRelation;
801 
802  scanstate->ss.ss_currentScanDesc = table_beginscan_bm(currentRelation,
803  estate->es_snapshot,
804  0,
805  NULL);
806 
807  /*
808  * all done.
809  */
810  return scanstate;
811 }
#define NIL
Definition: pg_list.h:65
List * qual
Definition: plannodes.h:143
Plan plan
Definition: plannodes.h:344
ExprState * bitmapqualorig
Definition: execnodes.h:1586
Index scanrelid
Definition: plannodes.h:345
#define RelationGetDescr(relation)
Definition: rel.h:482
const TupleTableSlotOps * table_slot_callbacks(Relation relation)
Definition: tableam.c:58
TIDBitmap * tbm
Definition: execnodes.h:1587
#define InvalidBuffer
Definition: buf.h:25
int get_tablespace_io_concurrency(Oid spcid)
Definition: spccache.c:215
struct TableScanDescData * ss_currentScanDesc
Definition: execnodes.h:1334
Snapshot es_snapshot
Definition: execnodes.h:508
Relation ss_currentRelation
Definition: execnodes.h:1333
EState * state
Definition: execnodes.h:947
Form_pg_class rd_rel
Definition: rel.h:109
ExprState * ExecInitQual(List *qual, PlanState *parent)
Definition: execExpr.c:209
PlanState ps
Definition: execnodes.h:1332
static TupleTableSlot * ExecBitmapHeapScan(PlanState *pstate)
void ExecAssignScanProjectionInfo(ScanState *node)
Definition: execScan.c:272
ParallelBitmapHeapState * pstate
Definition: execnodes.h:1604
Relation ExecOpenScanRelation(EState *estate, Index scanrelid, int eflags)
Definition: execUtils.c:734
#define EXEC_FLAG_BACKWARD
Definition: executor.h:58
#define outerPlanState(node)
Definition: execnodes.h:1039
void ExecInitScanTupleSlot(EState *estate, ScanState *scanstate, TupleDesc tupledesc, const TupleTableSlotOps *tts_ops)
Definition: execTuples.c:1781
void ExecInitResultTypeTL(PlanState *planstate)
Definition: execTuples.c:1725
List * bitmapqualorig
Definition: plannodes.h:479
TBMIterateResult * tbmres
Definition: execnodes.h:1589
#define outerPlan(node)
Definition: plannodes.h:172
ExecProcNodeMtd ExecProcNode
Definition: execnodes.h:951
#define IsMVCCSnapshot(snapshot)
Definition: snapmgr.h:97
Plan * plan
Definition: execnodes.h:945
#define makeNode(_type_)
Definition: nodes.h:577
#define Assert(condition)
Definition: c.h:745
#define EXEC_FLAG_MARK
Definition: executor.h:59
void ExecAssignExprContext(EState *estate, PlanState *planstate)
Definition: execUtils.c:485
TBMSharedIterator * shared_tbmiterator
Definition: execnodes.h:1602
TBMIterator * tbmiterator
Definition: execnodes.h:1588
List * targetlist
Definition: plannodes.h:142
ExprState * qual
Definition: execnodes.h:966
TBMIterator * prefetch_iterator
Definition: execnodes.h:1596
static TableScanDesc table_beginscan_bm(Relation rel, Snapshot snapshot, int nkeys, struct ScanKeyData *key)
Definition: tableam.h:800
PlanState * ExecInitNode(Plan *node, EState *estate, int eflags)
Definition: execProcnode.c:139
TBMSharedIterator * shared_prefetch_iterator
Definition: execnodes.h:1603

◆ ExecReScanBitmapHeapScan()

void ExecReScanBitmapHeapScan ( BitmapHeapScanState node)

Definition at line 602 of file nodeBitmapHeapscan.c.

References PlanState::chgParam, ExecReScan(), ExecScanReScan(), BitmapHeapScanState::initialized, InvalidBuffer, outerPlan, outerPlanState, BitmapHeapScanState::prefetch_iterator, BitmapHeapScanState::pvmbuffer, ReleaseBuffer(), BitmapHeapScanState::shared_prefetch_iterator, BitmapHeapScanState::shared_tbmiterator, BitmapHeapScanState::ss, ScanState::ss_currentScanDesc, table_rescan(), BitmapHeapScanState::tbm, tbm_end_iterate(), tbm_end_shared_iterate(), tbm_free(), BitmapHeapScanState::tbmiterator, BitmapHeapScanState::tbmres, and BitmapHeapScanState::vmbuffer.

Referenced by ExecReScan().

603 {
605 
606  /* rescan to release any page pin */
607  table_rescan(node->ss.ss_currentScanDesc, NULL);
608 
609  /* release bitmaps and buffers if any */
610  if (node->tbmiterator)
612  if (node->prefetch_iterator)
614  if (node->shared_tbmiterator)
616  if (node->shared_prefetch_iterator)
618  if (node->tbm)
619  tbm_free(node->tbm);
620  if (node->vmbuffer != InvalidBuffer)
621  ReleaseBuffer(node->vmbuffer);
622  if (node->pvmbuffer != InvalidBuffer)
623  ReleaseBuffer(node->pvmbuffer);
624  node->tbm = NULL;
625  node->tbmiterator = NULL;
626  node->tbmres = NULL;
627  node->prefetch_iterator = NULL;
628  node->initialized = false;
629  node->shared_tbmiterator = NULL;
630  node->shared_prefetch_iterator = NULL;
631  node->vmbuffer = InvalidBuffer;
632  node->pvmbuffer = InvalidBuffer;
633 
634  ExecScanReScan(&node->ss);
635 
636  /*
637  * if chgParam of subnode is not null then plan will be re-scanned by
638  * first ExecProcNode.
639  */
640  if (outerPlan->chgParam == NULL)
641  ExecReScan(outerPlan);
642 }
void tbm_end_iterate(TBMIterator *iterator)
Definition: tidbitmap.c:1145
TIDBitmap * tbm
Definition: execnodes.h:1587
void ExecReScan(PlanState *node)
Definition: execAmi.c:76
#define InvalidBuffer
Definition: buf.h:25
struct TableScanDescData * ss_currentScanDesc
Definition: execnodes.h:1334
void ReleaseBuffer(Buffer buffer)
Definition: bufmgr.c:3518
static void table_rescan(TableScanDesc scan, struct ScanKeyData *key)
Definition: tableam.h:872
#define outerPlanState(node)
Definition: execnodes.h:1039
void tbm_free(TIDBitmap *tbm)
Definition: tidbitmap.c:321
TBMIterateResult * tbmres
Definition: execnodes.h:1589
Bitmapset * chgParam
Definition: execnodes.h:977
#define outerPlan(node)
Definition: plannodes.h:172
TBMSharedIterator * shared_tbmiterator
Definition: execnodes.h:1602
TBMIterator * tbmiterator
Definition: execnodes.h:1588
TBMIterator * prefetch_iterator
Definition: execnodes.h:1596
void ExecScanReScan(ScanState *node)
Definition: execScan.c:299
TBMSharedIterator * shared_prefetch_iterator
Definition: execnodes.h:1603
void tbm_end_shared_iterate(TBMSharedIterator *iterator)
Definition: tidbitmap.c:1157