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_IS_QUAL (1 << 0) |
Definition at line 76 of file execnodes.h.
#define FIELDNO_AGGSTATE_ALL_PERGROUPS 53 |
Definition at line 2562 of file execnodes.h.
#define FIELDNO_AGGSTATE_CURAGGCONTEXT 14 |
Definition at line 2508 of file execnodes.h.
#define FIELDNO_AGGSTATE_CURPERTRANS 16 |
Definition at line 2511 of file execnodes.h.
#define FIELDNO_AGGSTATE_CURRENT_SET 20 |
Definition at line 2516 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_AGGNULLS 9 |
Definition at line 278 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_AGGVALUES 8 |
Definition at line 276 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_CASEDATUM 10 |
Definition at line 282 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_CASENULL 11 |
Definition at line 284 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_DOMAINDATUM 12 |
Definition at line 288 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_DOMAINNULL 13 |
Definition at line 290 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_INNERTUPLE 2 |
Definition at line 259 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_OUTERTUPLE 3 |
Definition at line 261 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_SCANTUPLE 1 |
Definition at line 257 of file execnodes.h.
#define FIELDNO_EXPRSTATE_PARENT 11 |
Definition at line 124 of file execnodes.h.
#define FIELDNO_EXPRSTATE_RESNULL 2 |
Definition at line 88 of file execnodes.h.
#define FIELDNO_EXPRSTATE_RESULTSLOT 4 |
Definition at line 96 of file execnodes.h.
#define FIELDNO_EXPRSTATE_RESVALUE 3 |
Definition at line 90 of file execnodes.h.
#define InitTupleHashIterator | ( | htable, | |
iter | |||
) | tuplehash_start_iterate(htable->hashtab, iter) |
Definition at line 854 of file execnodes.h.
#define innerPlanState | ( | node | ) | (((PlanState *)(node))->righttree) |
Definition at line 1221 of file execnodes.h.
#define InstrCountFiltered1 | ( | node, | |
delta | |||
) |
Definition at line 1230 of file execnodes.h.
#define InstrCountFiltered2 | ( | node, | |
delta | |||
) |
Definition at line 1235 of file execnodes.h.
#define InstrCountTuples2 | ( | node, | |
delta | |||
) |
Definition at line 1225 of file execnodes.h.
#define MERGE_DELETE 0x04 |
Definition at line 1356 of file execnodes.h.
#define MERGE_INSERT 0x01 |
Definition at line 1354 of file execnodes.h.
#define MERGE_UPDATE 0x02 |
Definition at line 1355 of file execnodes.h.
#define outerPlanState | ( | node | ) | (((PlanState *)(node))->lefttree) |
Definition at line 1222 of file execnodes.h.
#define ResetTupleHashIterator | ( | htable, | |
iter | |||
) | InitTupleHashIterator(htable, iter) |
Definition at line 858 of file execnodes.h.
#define ScanTupleHashTable | ( | htable, | |
iter | |||
) | tuplehash_iterate(htable->hashtab, iter) |
Definition at line 860 of file execnodes.h.
#define SH_DECLARE |
Definition at line 825 of file execnodes.h.
#define SH_ELEMENT_TYPE TupleHashEntryData |
Definition at line 822 of file execnodes.h.
#define SH_KEY_TYPE MinimalTuple |
Definition at line 823 of file execnodes.h.
#define SH_PREFIX tuplehash |
Definition at line 821 of file execnodes.h.
#define SH_SCOPE extern |
Definition at line 824 of file execnodes.h.
#define TermTupleHashIterator | ( | iter | ) | ((void) 0) |
Definition at line 856 of file execnodes.h.
typedef struct AggregateInstrumentation AggregateInstrumentation |
typedef struct AggStatePerAggData* AggStatePerAgg |
Definition at line 2486 of file execnodes.h.
typedef struct AggStatePerGroupData* AggStatePerGroup |
Definition at line 2488 of file execnodes.h.
typedef struct AggStatePerHashData* AggStatePerHash |
Definition at line 2490 of file execnodes.h.
typedef struct AggStatePerPhaseData* AggStatePerPhase |
Definition at line 2489 of file execnodes.h.
typedef struct AggStatePerTransData* AggStatePerTrans |
Definition at line 2487 of file execnodes.h.
typedef struct AppendState AppendState |
Definition at line 1441 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) (struct PlanState *pstate) |
Definition at line 1111 of file execnodes.h.
typedef struct ExecRowMark ExecRowMark |
typedef struct ExprContext ExprContext |
typedef struct ExprContext_CB ExprContext_CB |
Definition at line 220 of file execnodes.h.
typedef Datum(* ExprStateEvalFunc) (struct ExprState *expression, struct ExprContext *econtext, bool *isNull) |
Definition at line 70 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 2218 of file execnodes.h.
typedef struct HashJoinTupleData* HashJoinTuple |
Definition at line 2217 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 2166 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 1443 of file execnodes.h.
typedef struct ParallelBitmapHeapState ParallelBitmapHeapState |
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 809 of file execnodes.h.
typedef struct TupleHashEntryData TupleHashEntryData |
typedef tuplehash_iterator TupleHashIterator |
Definition at line 847 of file execnodes.h.
typedef struct TupleHashTableData* TupleHashTable |
Definition at line 810 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 2574 of file execnodes.h.
typedef struct WindowStatePerFuncData* WindowStatePerFunc |
Definition at line 2573 of file execnodes.h.
typedef struct WorkTableScanState WorkTableScanState |
enum DomainConstraintType |
Enumerator | |
---|---|
DOM_CONSTRAINT_NOTNULL | |
DOM_CONSTRAINT_CHECK |
Definition at line 1008 of file execnodes.h.
enum ExprDoneCond |
Enumerator | |
---|---|
ExprSingleResult | |
ExprMultipleResult | |
ExprEndResult |
Definition at line 304 of file execnodes.h.
Enumerator | |
---|---|
INCSORT_LOADFULLSORT | |
INCSORT_LOADPREFIXSORT | |
INCSORT_READFULLSORT | |
INCSORT_READPREFIXSORT |
Definition at line 2410 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 2865 of file execnodes.h.
Enumerator | |
---|---|
SFRM_ValuePerCall | |
SFRM_Materialize | |
SFRM_Materialize_Random | |
SFRM_Materialize_Preferred |
Definition at line 317 of file execnodes.h.
enum SharedBitmapState |
Enumerator | |
---|---|
BM_INITIAL | |
BM_INPROGRESS | |
BM_FINISHED |
Definition at line 1785 of file execnodes.h.
enum WindowAggStatus |
Enumerator | |
---|---|
WINDOWAGG_DONE | |
WINDOWAGG_RUN | |
WINDOWAGG_PASSTHROUGH | |
WINDOWAGG_PASSTHROUGH_STRICT |
Definition at line 2579 of file execnodes.h.