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/plancache.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 81 of file execnodes.h.
#define EEO_FLAG_HAS_OLD (1 << 1) |
Definition at line 79 of file execnodes.h.
#define EEO_FLAG_IS_QUAL (1 << 0) |
Definition at line 77 of file execnodes.h.
#define EEO_FLAG_NEW_IS_NULL (1 << 4) |
Definition at line 85 of file execnodes.h.
#define EEO_FLAG_OLD_IS_NULL (1 << 3) |
Definition at line 83 of file execnodes.h.
#define FIELDNO_AGGSTATE_ALL_PERGROUPS 54 |
Definition at line 2596 of file execnodes.h.
#define FIELDNO_AGGSTATE_CURAGGCONTEXT 14 |
Definition at line 2541 of file execnodes.h.
#define FIELDNO_AGGSTATE_CURPERTRANS 16 |
Definition at line 2544 of file execnodes.h.
#define FIELDNO_AGGSTATE_CURRENT_SET 20 |
Definition at line 2549 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_AGGNULLS 9 |
Definition at line 288 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_AGGVALUES 8 |
Definition at line 286 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_CASEDATUM 10 |
Definition at line 292 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_CASENULL 11 |
Definition at line 294 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_DOMAINDATUM 12 |
Definition at line 298 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_DOMAINNULL 13 |
Definition at line 300 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_INNERTUPLE 2 |
Definition at line 269 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_NEWTUPLE 15 |
Definition at line 306 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_OLDTUPLE 14 |
Definition at line 304 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_OUTERTUPLE 3 |
Definition at line 271 of file execnodes.h.
#define FIELDNO_EXPRCONTEXT_SCANTUPLE 1 |
Definition at line 267 of file execnodes.h.
#define FIELDNO_EXPRSTATE_FLAGS 1 |
Definition at line 91 of file execnodes.h.
#define FIELDNO_EXPRSTATE_PARENT 11 |
Definition at line 134 of file execnodes.h.
#define FIELDNO_EXPRSTATE_RESNULL 2 |
Definition at line 98 of file execnodes.h.
#define FIELDNO_EXPRSTATE_RESULTSLOT 4 |
Definition at line 106 of file execnodes.h.
#define FIELDNO_EXPRSTATE_RESVALUE 3 |
Definition at line 100 of file execnodes.h.
#define InitTupleHashIterator | ( | htable, | |
iter | |||
) | tuplehash_start_iterate(htable->hashtab, iter) |
Definition at line 887 of file execnodes.h.
#define innerPlanState | ( | node | ) | (((PlanState *)(node))->righttree) |
Definition at line 1254 of file execnodes.h.
#define InstrCountFiltered1 | ( | node, | |
delta | |||
) |
Definition at line 1263 of file execnodes.h.
#define InstrCountFiltered2 | ( | node, | |
delta | |||
) |
Definition at line 1268 of file execnodes.h.
#define InstrCountTuples2 | ( | node, | |
delta | |||
) |
Definition at line 1258 of file execnodes.h.
#define MERGE_DELETE 0x04 |
Definition at line 1389 of file execnodes.h.
#define MERGE_INSERT 0x01 |
Definition at line 1387 of file execnodes.h.
#define MERGE_UPDATE 0x02 |
Definition at line 1388 of file execnodes.h.
#define outerPlanState | ( | node | ) | (((PlanState *)(node))->lefttree) |
Definition at line 1255 of file execnodes.h.
#define ResetTupleHashIterator | ( | htable, | |
iter | |||
) | InitTupleHashIterator(htable, iter) |
Definition at line 891 of file execnodes.h.
#define ScanTupleHashTable | ( | htable, | |
iter | |||
) | tuplehash_iterate(htable->hashtab, iter) |
Definition at line 893 of file execnodes.h.
#define SH_DECLARE |
Definition at line 858 of file execnodes.h.
#define SH_ELEMENT_TYPE TupleHashEntryData |
Definition at line 855 of file execnodes.h.
#define SH_KEY_TYPE MinimalTuple |
Definition at line 856 of file execnodes.h.
#define SH_PREFIX tuplehash |
Definition at line 854 of file execnodes.h.
#define SH_SCOPE extern |
Definition at line 857 of file execnodes.h.
#define TermTupleHashIterator | ( | iter | ) | ((void) 0) |
Definition at line 889 of file execnodes.h.
typedef struct AggregateInstrumentation AggregateInstrumentation |
typedef struct AggStatePerAggData* AggStatePerAgg |
Definition at line 2519 of file execnodes.h.
typedef struct AggStatePerGroupData* AggStatePerGroup |
Definition at line 2521 of file execnodes.h.
typedef struct AggStatePerHashData* AggStatePerHash |
Definition at line 2523 of file execnodes.h.
typedef struct AggStatePerPhaseData* AggStatePerPhase |
Definition at line 2522 of file execnodes.h.
typedef struct AggStatePerTransData* AggStatePerTrans |
Definition at line 2520 of file execnodes.h.
typedef struct AppendState AppendState |
Definition at line 1483 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 1144 of file execnodes.h.
typedef struct ExecRowMark ExecRowMark |
typedef struct ExprContext ExprContext |
typedef struct ExprContext_CB ExprContext_CB |
Definition at line 230 of file execnodes.h.
typedef Datum(* ExprStateEvalFunc) (struct ExprState *expression, struct ExprContext *econtext, bool *isNull) |
Definition at line 71 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 2251 of file execnodes.h.
typedef struct HashJoinTupleData* HashJoinTuple |
Definition at line 2250 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 2199 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 1485 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 843 of file execnodes.h.
typedef struct TupleHashEntryData TupleHashEntryData |
typedef tuplehash_iterator TupleHashIterator |
Definition at line 880 of file execnodes.h.
typedef struct TupleHashTableData* TupleHashTable |
Definition at line 844 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 2608 of file execnodes.h.
typedef struct WindowStatePerFuncData* WindowStatePerFunc |
Definition at line 2607 of file execnodes.h.
typedef struct WorkTableScanState WorkTableScanState |
enum DomainConstraintType |
Enumerator | |
---|---|
DOM_CONSTRAINT_NOTNULL | |
DOM_CONSTRAINT_CHECK |
Definition at line 1041 of file execnodes.h.
enum ExprDoneCond |
Enumerator | |
---|---|
ExprSingleResult | |
ExprMultipleResult | |
ExprEndResult |
Definition at line 320 of file execnodes.h.
Enumerator | |
---|---|
INCSORT_LOADFULLSORT | |
INCSORT_LOADPREFIXSORT | |
INCSORT_READFULLSORT | |
INCSORT_READPREFIXSORT |
Definition at line 2443 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 2899 of file execnodes.h.
Enumerator | |
---|---|
SFRM_ValuePerCall | |
SFRM_Materialize | |
SFRM_Materialize_Random | |
SFRM_Materialize_Preferred |
Definition at line 333 of file execnodes.h.
enum SharedBitmapState |
Enumerator | |
---|---|
BM_INITIAL | |
BM_INPROGRESS | |
BM_FINISHED |
Definition at line 1839 of file execnodes.h.
enum WindowAggStatus |
Enumerator | |
---|---|
WINDOWAGG_DONE | |
WINDOWAGG_RUN | |
WINDOWAGG_PASSTHROUGH | |
WINDOWAGG_PASSTHROUGH_STRICT |
Definition at line 2613 of file execnodes.h.