|
PostgreSQL Source Code git master
|
#include "access/tupconvert.h"#include "executor/instrument.h"#include "fmgr.h"#include "lib/ilist.h"#include "lib/pairingheap.h"#include "nodes/miscnodes.h"#include "nodes/params.h"#include "nodes/plannodes.h"#include "nodes/tidbitmap.h"#include "partitioning/partdefs.h"#include "storage/condition_variable.h"#include "utils/hsearch.h"#include "utils/queryenvironment.h"#include "utils/reltrigger.h"#include "utils/sharedtuplestore.h"#include "utils/snapshot.h"#include "utils/sortsupport.h"#include "utils/tuplesort.h"#include "utils/tuplestore.h"#include "lib/simplehash.h"

Go to the source code of this file.
Enumerations | |
| enum | ExprDoneCond { ExprSingleResult , ExprMultipleResult , ExprEndResult } |
| enum | SetFunctionReturnMode { SFRM_ValuePerCall = 0x01 , SFRM_Materialize = 0x02 , SFRM_Materialize_Random = 0x04 , SFRM_Materialize_Preferred = 0x08 } |
| enum | DomainConstraintType { DOM_CONSTRAINT_NOTNULL , DOM_CONSTRAINT_CHECK } |
| enum | SharedBitmapState { BM_INITIAL , BM_INPROGRESS , BM_FINISHED } |
| enum | IncrementalSortExecutionStatus { INCSORT_LOADFULLSORT , INCSORT_LOADPREFIXSORT , INCSORT_READFULLSORT , INCSORT_READPREFIXSORT } |
| enum | WindowAggStatus { WINDOWAGG_DONE , WINDOWAGG_RUN , WINDOWAGG_PASSTHROUGH , WINDOWAGG_PASSTHROUGH_STRICT } |
| enum | LimitStateCond { LIMIT_INITIAL , LIMIT_RESCAN , LIMIT_EMPTY , LIMIT_INWINDOW , LIMIT_WINDOWEND_TIES , LIMIT_SUBPLANEOF , LIMIT_WINDOWEND , LIMIT_WINDOWSTART } |
| #define EEO_FLAG_HAS_NEW (1 << 2) |
Definition at line 78 of file execnodes.h.
| #define EEO_FLAG_HAS_OLD (1 << 1) |
Definition at line 76 of file execnodes.h.
| #define EEO_FLAG_IS_QUAL (1 << 0) |
Definition at line 74 of file execnodes.h.
| #define EEO_FLAG_NEW_IS_NULL (1 << 4) |
Definition at line 82 of file execnodes.h.
| #define EEO_FLAG_OLD_IS_NULL (1 << 3) |
Definition at line 80 of file execnodes.h.
| #define FIELDNO_AGGSTATE_ALL_PERGROUPS 54 |
Definition at line 2604 of file execnodes.h.
| #define FIELDNO_AGGSTATE_CURAGGCONTEXT 14 |
Definition at line 2549 of file execnodes.h.
| #define FIELDNO_AGGSTATE_CURPERTRANS 16 |
Definition at line 2552 of file execnodes.h.
| #define FIELDNO_AGGSTATE_CURRENT_SET 20 |
Definition at line 2557 of file execnodes.h.
| #define FIELDNO_EXPRCONTEXT_AGGNULLS 9 |
Definition at line 293 of file execnodes.h.
| #define FIELDNO_EXPRCONTEXT_AGGVALUES 8 |
Definition at line 291 of file execnodes.h.
| #define FIELDNO_EXPRCONTEXT_CASEDATUM 10 |
Definition at line 297 of file execnodes.h.
| #define FIELDNO_EXPRCONTEXT_CASENULL 11 |
Definition at line 299 of file execnodes.h.
| #define FIELDNO_EXPRCONTEXT_DOMAINDATUM 12 |
Definition at line 303 of file execnodes.h.
| #define FIELDNO_EXPRCONTEXT_DOMAINNULL 13 |
Definition at line 305 of file execnodes.h.
| #define FIELDNO_EXPRCONTEXT_INNERTUPLE 2 |
Definition at line 274 of file execnodes.h.
| #define FIELDNO_EXPRCONTEXT_NEWTUPLE 15 |
Definition at line 311 of file execnodes.h.
| #define FIELDNO_EXPRCONTEXT_OLDTUPLE 14 |
Definition at line 309 of file execnodes.h.
| #define FIELDNO_EXPRCONTEXT_OUTERTUPLE 3 |
Definition at line 276 of file execnodes.h.
| #define FIELDNO_EXPRCONTEXT_SCANTUPLE 1 |
Definition at line 272 of file execnodes.h.
| #define FIELDNO_EXPRSTATE_FLAGS 1 |
Definition at line 88 of file execnodes.h.
| #define FIELDNO_EXPRSTATE_PARENT 11 |
Definition at line 131 of file execnodes.h.
| #define FIELDNO_EXPRSTATE_RESNULL 2 |
Definition at line 95 of file execnodes.h.
| #define FIELDNO_EXPRSTATE_RESULTSLOT 4 |
Definition at line 103 of file execnodes.h.
| #define FIELDNO_EXPRSTATE_RESVALUE 3 |
Definition at line 97 of file execnodes.h.
| #define InitTupleHashIterator | ( | htable, | |
| iter | |||
| ) | tuplehash_start_iterate(htable->hashtab, iter) |
Definition at line 894 of file execnodes.h.
| #define innerPlanState | ( | node | ) | (((PlanState *)(node))->righttree) |
Definition at line 1260 of file execnodes.h.
| #define InstrCountFiltered1 | ( | node, | |
| delta | |||
| ) |
Definition at line 1269 of file execnodes.h.
| #define InstrCountFiltered2 | ( | node, | |
| delta | |||
| ) |
Definition at line 1274 of file execnodes.h.
| #define InstrCountTuples2 | ( | node, | |
| delta | |||
| ) |
Definition at line 1264 of file execnodes.h.
| #define MERGE_DELETE 0x04 |
Definition at line 1395 of file execnodes.h.
| #define MERGE_INSERT 0x01 |
Definition at line 1393 of file execnodes.h.
| #define MERGE_UPDATE 0x02 |
Definition at line 1394 of file execnodes.h.
| #define outerPlanState | ( | node | ) | (((PlanState *)(node))->lefttree) |
Definition at line 1261 of file execnodes.h.
| #define ResetTupleHashIterator | ( | htable, | |
| iter | |||
| ) | InitTupleHashIterator(htable, iter) |
Definition at line 898 of file execnodes.h.
| #define ScanTupleHashTable | ( | htable, | |
| iter | |||
| ) | tuplehash_iterate(htable->hashtab, iter) |
Definition at line 900 of file execnodes.h.
| #define SH_DECLARE |
Definition at line 865 of file execnodes.h.
| #define SH_ELEMENT_TYPE TupleHashEntryData |
Definition at line 862 of file execnodes.h.
| #define SH_KEY_TYPE MinimalTuple |
Definition at line 863 of file execnodes.h.
| #define SH_PREFIX tuplehash |
Definition at line 861 of file execnodes.h.
| #define SH_SCOPE extern |
Definition at line 864 of file execnodes.h.
| #define TermTupleHashIterator | ( | iter | ) | ((void) 0) |
Definition at line 896 of file execnodes.h.
| typedef struct AggregateInstrumentation AggregateInstrumentation |
| typedef struct AggStatePerAggData* AggStatePerAgg |
Definition at line 2527 of file execnodes.h.
| typedef struct AggStatePerGroupData* AggStatePerGroup |
Definition at line 2529 of file execnodes.h.
| typedef struct AggStatePerHashData* AggStatePerHash |
Definition at line 2531 of file execnodes.h.
| typedef struct AggStatePerPhaseData* AggStatePerPhase |
Definition at line 2530 of file execnodes.h.
| typedef struct AggStatePerTransData* AggStatePerTrans |
Definition at line 2528 of file execnodes.h.
| typedef struct AppendState AppendState |
Definition at line 1489 of file execnodes.h.
| typedef struct AsyncRequest AsyncRequest |
| typedef struct BitmapAndState BitmapAndState |
| typedef struct BitmapHeapScanInstrumentation BitmapHeapScanInstrumentation |
| typedef struct BitmapHeapScanState BitmapHeapScanState |
| typedef struct BitmapIndexScanState BitmapIndexScanState |
| typedef struct BitmapOrState BitmapOrState |
| typedef struct CteScanState CteScanState |
| typedef struct CustomScanState CustomScanState |
| typedef struct DomainConstraintState DomainConstraintState |
| typedef enum DomainConstraintType DomainConstraintType |
| typedef struct ExecAuxRowMark ExecAuxRowMark |
| typedef TupleTableSlot *(* ExecProcNodeMtd) (PlanState *pstate) |
Definition at line 1150 of file execnodes.h.
| typedef struct ExecRowMark ExecRowMark |
Definition at line 56 of file execnodes.h.
| typedef struct ExprContext ExprContext |
Definition at line 58 of file execnodes.h.
| typedef struct ExprContext_CB ExprContext_CB |
Definition at line 235 of file execnodes.h.
Definition at line 57 of file execnodes.h.
| typedef Datum(* ExprStateEvalFunc) (ExprState *expression, ExprContext *econtext, bool *isNull) |
Definition at line 68 of file execnodes.h.
| typedef struct ForeignScanState ForeignScanState |
| typedef struct FunctionScanState FunctionScanState |
| typedef struct GatherMergeState GatherMergeState |
| typedef struct GatherState GatherState |
| typedef struct GroupState GroupState |
| typedef struct HashInstrumentation HashInstrumentation |
| typedef struct HashJoinState HashJoinState |
| typedef struct HashJoinTableData* HashJoinTable |
Definition at line 2259 of file execnodes.h.
| typedef struct HashJoinTupleData* HashJoinTuple |
Definition at line 2258 of file execnodes.h.
| typedef struct IncrementalSortGroupInfo IncrementalSortGroupInfo |
| typedef struct IncrementalSortInfo IncrementalSortInfo |
| typedef struct IncrementalSortState IncrementalSortState |
| typedef struct IndexOnlyScanState IndexOnlyScanState |
| typedef struct IndexScanState IndexScanState |
| typedef struct JsonExprState JsonExprState |
| typedef struct JunkFilter JunkFilter |
| typedef struct LimitState LimitState |
| typedef struct LockRowsState LockRowsState |
| typedef struct MaterialState MaterialState |
| typedef struct MemoizeInstrumentation MemoizeInstrumentation |
| typedef struct MemoizeState MemoizeState |
| typedef struct MergeActionState MergeActionState |
| typedef struct MergeAppendState MergeAppendState |
| typedef struct MergeJoinClauseData* MergeJoinClause |
Definition at line 2207 of file execnodes.h.
| typedef struct MergeJoinState MergeJoinState |
| typedef struct ModifyTableState ModifyTableState |
| typedef struct NamedTuplestoreScanState NamedTuplestoreScanState |
| typedef struct NestLoopState NestLoopState |
| typedef struct OnConflictSetState OnConflictSetState |
| typedef struct ParallelAppendState ParallelAppendState |
Definition at line 1491 of file execnodes.h.
| typedef struct ParallelBitmapHeapState ParallelBitmapHeapState |
Definition at line 55 of file execnodes.h.
| typedef struct PresortedKeyData PresortedKeyData |
| typedef struct ProjectionInfo ProjectionInfo |
| typedef struct ProjectSetState ProjectSetState |
| typedef struct RecursiveUnionState RecursiveUnionState |
| typedef struct ResultRelInfo ResultRelInfo |
| typedef struct ResultState ResultState |
| typedef struct ReturnSetInfo ReturnSetInfo |
| typedef struct SampleScanState SampleScanState |
| typedef struct SeqScanState SeqScanState |
| typedef struct SetExprState SetExprState |
| typedef struct SetOpState SetOpState |
| typedef struct SetOpStatePerInput SetOpStatePerInput |
| typedef struct SharedAggInfo SharedAggInfo |
| typedef struct SharedBitmapHeapInstrumentation SharedBitmapHeapInstrumentation |
| typedef struct SharedHashInfo SharedHashInfo |
| typedef struct SharedIncrementalSortInfo SharedIncrementalSortInfo |
| typedef struct SharedMemoizeInfo SharedMemoizeInfo |
| typedef struct SharedSortInfo SharedSortInfo |
| typedef struct SubPlanState SubPlanState |
| typedef struct SubqueryScanState SubqueryScanState |
| typedef struct TableFuncScanState TableFuncScanState |
| typedef struct TidRangeScanState TidRangeScanState |
| typedef struct TidScanState TidScanState |
| typedef struct TupleHashEntryData* TupleHashEntry |
Definition at line 844 of file execnodes.h.
| typedef struct TupleHashEntryData TupleHashEntryData |
| typedef tuplehash_iterator TupleHashIterator |
Definition at line 887 of file execnodes.h.
| typedef struct TupleHashTableData* TupleHashTable |
Definition at line 845 of file execnodes.h.
| typedef struct TupleHashTableData TupleHashTableData |
| typedef struct UniqueState UniqueState |
| typedef struct ValuesScanState ValuesScanState |
| typedef struct WindowAggState WindowAggState |
| typedef enum WindowAggStatus WindowAggStatus |
| typedef struct WindowFuncExprState WindowFuncExprState |
| typedef struct WindowStatePerAggData* WindowStatePerAgg |
Definition at line 2616 of file execnodes.h.
| typedef struct WindowStatePerFuncData* WindowStatePerFunc |
Definition at line 2615 of file execnodes.h.
| typedef struct WorkTableScanState WorkTableScanState |
| enum DomainConstraintType |
| Enumerator | |
|---|---|
| DOM_CONSTRAINT_NOTNULL | |
| DOM_CONSTRAINT_CHECK | |
Definition at line 1047 of file execnodes.h.
| enum ExprDoneCond |
| Enumerator | |
|---|---|
| ExprSingleResult | |
| ExprMultipleResult | |
| ExprEndResult | |
Definition at line 325 of file execnodes.h.
| Enumerator | |
|---|---|
| INCSORT_LOADFULLSORT | |
| INCSORT_LOADPREFIXSORT | |
| INCSORT_READFULLSORT | |
| INCSORT_READPREFIXSORT | |
Definition at line 2451 of file execnodes.h.
| enum LimitStateCond |
| Enumerator | |
|---|---|
| LIMIT_INITIAL | |
| LIMIT_RESCAN | |
| LIMIT_EMPTY | |
| LIMIT_INWINDOW | |
| LIMIT_WINDOWEND_TIES | |
| LIMIT_SUBPLANEOF | |
| LIMIT_WINDOWEND | |
| LIMIT_WINDOWSTART | |
Definition at line 2907 of file execnodes.h.
| Enumerator | |
|---|---|
| SFRM_ValuePerCall | |
| SFRM_Materialize | |
| SFRM_Materialize_Random | |
| SFRM_Materialize_Preferred | |
Definition at line 338 of file execnodes.h.
| enum SharedBitmapState |
| Enumerator | |
|---|---|
| BM_INITIAL | |
| BM_INPROGRESS | |
| BM_FINISHED | |
Definition at line 1845 of file execnodes.h.
| enum WindowAggStatus |
| Enumerator | |
|---|---|
| WINDOWAGG_DONE | |
| WINDOWAGG_RUN | |
| WINDOWAGG_PASSTHROUGH | |
| WINDOWAGG_PASSTHROUGH_STRICT | |
Definition at line 2621 of file execnodes.h.