PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
execnodes.h File Reference
#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"
Include dependency graph for execnodes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ExprState
 
struct  IndexInfo
 
struct  ExprContext_CB
 
struct  ExprContext
 
struct  ReturnSetInfo
 
struct  ProjectionInfo
 
struct  JunkFilter
 
struct  OnConflictSetState
 
struct  MergeActionState
 
struct  ResultRelInfo
 
struct  AsyncRequest
 
struct  EState
 
struct  ExecRowMark
 
struct  ExecAuxRowMark
 
struct  TupleHashEntryData
 
struct  TupleHashTableData
 
struct  WindowFuncExprState
 
struct  SetExprState
 
struct  SubPlanState
 
struct  DomainConstraintState
 
struct  JsonExprState
 
struct  PlanState
 
struct  EPQState
 
struct  ResultState
 
struct  ProjectSetState
 
struct  ModifyTableState
 
struct  AppendState
 
struct  MergeAppendState
 
struct  RecursiveUnionState
 
struct  BitmapAndState
 
struct  BitmapOrState
 
struct  ScanState
 
struct  SeqScanState
 
struct  SampleScanState
 
struct  IndexRuntimeKeyInfo
 
struct  IndexArrayKeyInfo
 
struct  IndexScanState
 
struct  IndexOnlyScanState
 
struct  BitmapIndexScanState
 
struct  BitmapHeapScanInstrumentation
 
struct  ParallelBitmapHeapState
 
struct  SharedBitmapHeapInstrumentation
 
struct  BitmapHeapScanState
 
struct  TidScanState
 
struct  TidRangeScanState
 
struct  SubqueryScanState
 
struct  FunctionScanState
 
struct  ValuesScanState
 
struct  TableFuncScanState
 
struct  CteScanState
 
struct  NamedTuplestoreScanState
 
struct  WorkTableScanState
 
struct  ForeignScanState
 
struct  CustomScanState
 
struct  JoinState
 
struct  NestLoopState
 
struct  MergeJoinState
 
struct  HashJoinState
 
struct  MaterialState
 
struct  MemoizeInstrumentation
 
struct  SharedMemoizeInfo
 
struct  MemoizeState
 
struct  PresortedKeyData
 
struct  SharedSortInfo
 
struct  SortState
 
struct  IncrementalSortGroupInfo
 
struct  IncrementalSortInfo
 
struct  SharedIncrementalSortInfo
 
struct  IncrementalSortState
 
struct  GroupState
 
struct  AggregateInstrumentation
 
struct  SharedAggInfo
 
struct  AggState
 
struct  WindowAggState
 
struct  UniqueState
 
struct  GatherState
 
struct  GatherMergeState
 
struct  HashInstrumentation
 
struct  SharedHashInfo
 
struct  HashState
 
struct  SetOpStatePerInput
 
struct  SetOpState
 
struct  LockRowsState
 
struct  LimitState
 

Macros

#define EEO_FLAG_IS_QUAL   (1 << 0)
 
#define FIELDNO_EXPRSTATE_RESNULL   2
 
#define FIELDNO_EXPRSTATE_RESVALUE   3
 
#define FIELDNO_EXPRSTATE_RESULTSLOT   4
 
#define FIELDNO_EXPRSTATE_PARENT   11
 
#define FIELDNO_EXPRCONTEXT_SCANTUPLE   1
 
#define FIELDNO_EXPRCONTEXT_INNERTUPLE   2
 
#define FIELDNO_EXPRCONTEXT_OUTERTUPLE   3
 
#define FIELDNO_EXPRCONTEXT_AGGVALUES   8
 
#define FIELDNO_EXPRCONTEXT_AGGNULLS   9
 
#define FIELDNO_EXPRCONTEXT_CASEDATUM   10
 
#define FIELDNO_EXPRCONTEXT_CASENULL   11
 
#define FIELDNO_EXPRCONTEXT_DOMAINDATUM   12
 
#define FIELDNO_EXPRCONTEXT_DOMAINNULL   13
 
#define SH_PREFIX   tuplehash
 
#define SH_ELEMENT_TYPE   TupleHashEntryData
 
#define SH_KEY_TYPE   MinimalTuple
 
#define SH_SCOPE   extern
 
#define SH_DECLARE
 
#define InitTupleHashIterator(htable, iter)    tuplehash_start_iterate(htable->hashtab, iter)
 
#define TermTupleHashIterator(iter)    ((void) 0)
 
#define ResetTupleHashIterator(htable, iter)    InitTupleHashIterator(htable, iter)
 
#define ScanTupleHashTable(htable, iter)    tuplehash_iterate(htable->hashtab, iter)
 
#define innerPlanState(node)   (((PlanState *)(node))->righttree)
 
#define outerPlanState(node)   (((PlanState *)(node))->lefttree)
 
#define InstrCountTuples2(node, delta)
 
#define InstrCountFiltered1(node, delta)
 
#define InstrCountFiltered2(node, delta)
 
#define MERGE_INSERT   0x01
 
#define MERGE_UPDATE   0x02
 
#define MERGE_DELETE   0x04
 
#define FIELDNO_AGGSTATE_CURAGGCONTEXT   14
 
#define FIELDNO_AGGSTATE_CURPERTRANS   16
 
#define FIELDNO_AGGSTATE_CURRENT_SET   20
 
#define FIELDNO_AGGSTATE_ALL_PERGROUPS   53
 

Typedefs

typedef Datum(* ExprStateEvalFunc) (struct ExprState *expression, struct ExprContext *econtext, bool *isNull)
 
typedef struct ExprState ExprState
 
typedef struct IndexInfo IndexInfo
 
typedef void(* ExprContextCallbackFunction) (Datum arg)
 
typedef struct ExprContext_CB ExprContext_CB
 
typedef struct ExprContext ExprContext
 
typedef struct ReturnSetInfo ReturnSetInfo
 
typedef struct ProjectionInfo ProjectionInfo
 
typedef struct JunkFilter JunkFilter
 
typedef struct OnConflictSetState OnConflictSetState
 
typedef struct MergeActionState MergeActionState
 
typedef struct ResultRelInfo ResultRelInfo
 
typedef struct AsyncRequest AsyncRequest
 
typedef struct EState EState
 
typedef struct ExecRowMark ExecRowMark
 
typedef struct ExecAuxRowMark ExecAuxRowMark
 
typedef struct TupleHashEntryDataTupleHashEntry
 
typedef struct TupleHashTableDataTupleHashTable
 
typedef struct TupleHashEntryData TupleHashEntryData
 
typedef struct TupleHashTableData TupleHashTableData
 
typedef tuplehash_iterator TupleHashIterator
 
typedef struct WindowFuncExprState WindowFuncExprState
 
typedef struct SetExprState SetExprState
 
typedef struct SubPlanState SubPlanState
 
typedef enum DomainConstraintType DomainConstraintType
 
typedef struct DomainConstraintState DomainConstraintState
 
typedef struct JsonExprState JsonExprState
 
typedef TupleTableSlot *(* ExecProcNodeMtd) (struct PlanState *pstate)
 
typedef struct PlanState PlanState
 
typedef struct EPQState EPQState
 
typedef struct ResultState ResultState
 
typedef struct ProjectSetState ProjectSetState
 
typedef struct ModifyTableState ModifyTableState
 
typedef struct AppendState AppendState
 
typedef struct ParallelAppendState ParallelAppendState
 
typedef struct MergeAppendState MergeAppendState
 
typedef struct RecursiveUnionState RecursiveUnionState
 
typedef struct BitmapAndState BitmapAndState
 
typedef struct BitmapOrState BitmapOrState
 
typedef struct ScanState ScanState
 
typedef struct SeqScanState SeqScanState
 
typedef struct SampleScanState SampleScanState
 
typedef struct IndexScanState IndexScanState
 
typedef struct IndexOnlyScanState IndexOnlyScanState
 
typedef struct BitmapIndexScanState BitmapIndexScanState
 
typedef struct BitmapHeapScanInstrumentation BitmapHeapScanInstrumentation
 
typedef struct ParallelBitmapHeapState ParallelBitmapHeapState
 
typedef struct SharedBitmapHeapInstrumentation SharedBitmapHeapInstrumentation
 
typedef struct BitmapHeapScanState BitmapHeapScanState
 
typedef struct TidScanState TidScanState
 
typedef struct TidRangeScanState TidRangeScanState
 
typedef struct SubqueryScanState SubqueryScanState
 
typedef struct FunctionScanState FunctionScanState
 
typedef struct ValuesScanState ValuesScanState
 
typedef struct TableFuncScanState TableFuncScanState
 
typedef struct CteScanState CteScanState
 
typedef struct NamedTuplestoreScanState NamedTuplestoreScanState
 
typedef struct WorkTableScanState WorkTableScanState
 
typedef struct ForeignScanState ForeignScanState
 
typedef struct CustomScanState CustomScanState
 
typedef struct JoinState JoinState
 
typedef struct NestLoopState NestLoopState
 
typedef struct MergeJoinClauseDataMergeJoinClause
 
typedef struct MergeJoinState MergeJoinState
 
typedef struct HashJoinTupleDataHashJoinTuple
 
typedef struct HashJoinTableDataHashJoinTable
 
typedef struct HashJoinState HashJoinState
 
typedef struct MaterialState MaterialState
 
typedef struct MemoizeInstrumentation MemoizeInstrumentation
 
typedef struct SharedMemoizeInfo SharedMemoizeInfo
 
typedef struct MemoizeState MemoizeState
 
typedef struct PresortedKeyData PresortedKeyData
 
typedef struct SharedSortInfo SharedSortInfo
 
typedef struct SortState SortState
 
typedef struct IncrementalSortGroupInfo IncrementalSortGroupInfo
 
typedef struct IncrementalSortInfo IncrementalSortInfo
 
typedef struct SharedIncrementalSortInfo SharedIncrementalSortInfo
 
typedef struct IncrementalSortState IncrementalSortState
 
typedef struct GroupState GroupState
 
typedef struct AggregateInstrumentation AggregateInstrumentation
 
typedef struct SharedAggInfo SharedAggInfo
 
typedef struct AggStatePerAggDataAggStatePerAgg
 
typedef struct AggStatePerTransDataAggStatePerTrans
 
typedef struct AggStatePerGroupDataAggStatePerGroup
 
typedef struct AggStatePerPhaseDataAggStatePerPhase
 
typedef struct AggStatePerHashDataAggStatePerHash
 
typedef struct AggState AggState
 
typedef struct WindowStatePerFuncDataWindowStatePerFunc
 
typedef struct WindowStatePerAggDataWindowStatePerAgg
 
typedef enum WindowAggStatus WindowAggStatus
 
typedef struct WindowAggState WindowAggState
 
typedef struct UniqueState UniqueState
 
typedef struct GatherState GatherState
 
typedef struct GatherMergeState GatherMergeState
 
typedef struct HashInstrumentation HashInstrumentation
 
typedef struct SharedHashInfo SharedHashInfo
 
typedef struct HashState HashState
 
typedef struct SetOpStatePerInput SetOpStatePerInput
 
typedef struct SetOpState SetOpState
 
typedef struct LockRowsState LockRowsState
 
typedef struct LimitState LimitState
 

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
}
 

Macro Definition Documentation

◆ EEO_FLAG_IS_QUAL

#define EEO_FLAG_IS_QUAL   (1 << 0)

Definition at line 76 of file execnodes.h.

◆ FIELDNO_AGGSTATE_ALL_PERGROUPS

#define FIELDNO_AGGSTATE_ALL_PERGROUPS   53

Definition at line 2562 of file execnodes.h.

◆ FIELDNO_AGGSTATE_CURAGGCONTEXT

#define FIELDNO_AGGSTATE_CURAGGCONTEXT   14

Definition at line 2508 of file execnodes.h.

◆ FIELDNO_AGGSTATE_CURPERTRANS

#define FIELDNO_AGGSTATE_CURPERTRANS   16

Definition at line 2511 of file execnodes.h.

◆ FIELDNO_AGGSTATE_CURRENT_SET

#define FIELDNO_AGGSTATE_CURRENT_SET   20

Definition at line 2516 of file execnodes.h.

◆ FIELDNO_EXPRCONTEXT_AGGNULLS

#define FIELDNO_EXPRCONTEXT_AGGNULLS   9

Definition at line 278 of file execnodes.h.

◆ FIELDNO_EXPRCONTEXT_AGGVALUES

#define FIELDNO_EXPRCONTEXT_AGGVALUES   8

Definition at line 276 of file execnodes.h.

◆ FIELDNO_EXPRCONTEXT_CASEDATUM

#define FIELDNO_EXPRCONTEXT_CASEDATUM   10

Definition at line 282 of file execnodes.h.

◆ FIELDNO_EXPRCONTEXT_CASENULL

#define FIELDNO_EXPRCONTEXT_CASENULL   11

Definition at line 284 of file execnodes.h.

◆ FIELDNO_EXPRCONTEXT_DOMAINDATUM

#define FIELDNO_EXPRCONTEXT_DOMAINDATUM   12

Definition at line 288 of file execnodes.h.

◆ FIELDNO_EXPRCONTEXT_DOMAINNULL

#define FIELDNO_EXPRCONTEXT_DOMAINNULL   13

Definition at line 290 of file execnodes.h.

◆ FIELDNO_EXPRCONTEXT_INNERTUPLE

#define FIELDNO_EXPRCONTEXT_INNERTUPLE   2

Definition at line 259 of file execnodes.h.

◆ FIELDNO_EXPRCONTEXT_OUTERTUPLE

#define FIELDNO_EXPRCONTEXT_OUTERTUPLE   3

Definition at line 261 of file execnodes.h.

◆ FIELDNO_EXPRCONTEXT_SCANTUPLE

#define FIELDNO_EXPRCONTEXT_SCANTUPLE   1

Definition at line 257 of file execnodes.h.

◆ FIELDNO_EXPRSTATE_PARENT

#define FIELDNO_EXPRSTATE_PARENT   11

Definition at line 124 of file execnodes.h.

◆ FIELDNO_EXPRSTATE_RESNULL

#define FIELDNO_EXPRSTATE_RESNULL   2

Definition at line 88 of file execnodes.h.

◆ FIELDNO_EXPRSTATE_RESULTSLOT

#define FIELDNO_EXPRSTATE_RESULTSLOT   4

Definition at line 96 of file execnodes.h.

◆ FIELDNO_EXPRSTATE_RESVALUE

#define FIELDNO_EXPRSTATE_RESVALUE   3

Definition at line 90 of file execnodes.h.

◆ InitTupleHashIterator

#define InitTupleHashIterator (   htable,
  iter 
)     tuplehash_start_iterate(htable->hashtab, iter)

Definition at line 854 of file execnodes.h.

◆ innerPlanState

#define innerPlanState (   node)    (((PlanState *)(node))->righttree)

Definition at line 1221 of file execnodes.h.

◆ InstrCountFiltered1

#define InstrCountFiltered1 (   node,
  delta 
)
Value:
do { \
if (((PlanState *)(node))->instrument) \
((PlanState *)(node))->instrument->nfiltered1 += (delta); \
} while(0)

Definition at line 1230 of file execnodes.h.

◆ InstrCountFiltered2

#define InstrCountFiltered2 (   node,
  delta 
)
Value:
do { \
if (((PlanState *)(node))->instrument) \
((PlanState *)(node))->instrument->nfiltered2 += (delta); \
} while(0)

Definition at line 1235 of file execnodes.h.

◆ InstrCountTuples2

#define InstrCountTuples2 (   node,
  delta 
)
Value:
do { \
if (((PlanState *)(node))->instrument) \
((PlanState *)(node))->instrument->ntuples2 += (delta); \
} while (0)

Definition at line 1225 of file execnodes.h.

◆ MERGE_DELETE

#define MERGE_DELETE   0x04

Definition at line 1356 of file execnodes.h.

◆ MERGE_INSERT

#define MERGE_INSERT   0x01

Definition at line 1354 of file execnodes.h.

◆ MERGE_UPDATE

#define MERGE_UPDATE   0x02

Definition at line 1355 of file execnodes.h.

◆ outerPlanState

#define outerPlanState (   node)    (((PlanState *)(node))->lefttree)

Definition at line 1222 of file execnodes.h.

◆ ResetTupleHashIterator

#define ResetTupleHashIterator (   htable,
  iter 
)     InitTupleHashIterator(htable, iter)

Definition at line 858 of file execnodes.h.

◆ ScanTupleHashTable

#define ScanTupleHashTable (   htable,
  iter 
)     tuplehash_iterate(htable->hashtab, iter)

Definition at line 860 of file execnodes.h.

◆ SH_DECLARE

#define SH_DECLARE

Definition at line 825 of file execnodes.h.

◆ SH_ELEMENT_TYPE

#define SH_ELEMENT_TYPE   TupleHashEntryData

Definition at line 822 of file execnodes.h.

◆ SH_KEY_TYPE

#define SH_KEY_TYPE   MinimalTuple

Definition at line 823 of file execnodes.h.

◆ SH_PREFIX

#define SH_PREFIX   tuplehash

Definition at line 821 of file execnodes.h.

◆ SH_SCOPE

#define SH_SCOPE   extern

Definition at line 824 of file execnodes.h.

◆ TermTupleHashIterator

#define TermTupleHashIterator (   iter)     ((void) 0)

Definition at line 856 of file execnodes.h.

Typedef Documentation

◆ AggregateInstrumentation

◆ AggState

typedef struct AggState AggState

◆ AggStatePerAgg

Definition at line 2486 of file execnodes.h.

◆ AggStatePerGroup

Definition at line 2488 of file execnodes.h.

◆ AggStatePerHash

Definition at line 2490 of file execnodes.h.

◆ AggStatePerPhase

Definition at line 2489 of file execnodes.h.

◆ AggStatePerTrans

Definition at line 2487 of file execnodes.h.

◆ AppendState

typedef struct AppendState AppendState

Definition at line 1441 of file execnodes.h.

◆ AsyncRequest

typedef struct AsyncRequest AsyncRequest

◆ BitmapAndState

◆ BitmapHeapScanInstrumentation

◆ BitmapHeapScanState

◆ BitmapIndexScanState

◆ BitmapOrState

typedef struct BitmapOrState BitmapOrState

◆ CteScanState

typedef struct CteScanState CteScanState

◆ CustomScanState

◆ DomainConstraintState

◆ DomainConstraintType

◆ EPQState

typedef struct EPQState EPQState

◆ EState

typedef struct EState EState

◆ ExecAuxRowMark

◆ ExecProcNodeMtd

typedef TupleTableSlot *(* ExecProcNodeMtd) (struct PlanState *pstate)

Definition at line 1111 of file execnodes.h.

◆ ExecRowMark

typedef struct ExecRowMark ExecRowMark

◆ ExprContext

typedef struct ExprContext ExprContext

◆ ExprContext_CB

◆ ExprContextCallbackFunction

typedef void(* ExprContextCallbackFunction) (Datum arg)

Definition at line 220 of file execnodes.h.

◆ ExprState

typedef struct ExprState ExprState

◆ ExprStateEvalFunc

typedef Datum(* ExprStateEvalFunc) (struct ExprState *expression, struct ExprContext *econtext, bool *isNull)

Definition at line 70 of file execnodes.h.

◆ ForeignScanState

◆ FunctionScanState

◆ GatherMergeState

◆ GatherState

typedef struct GatherState GatherState

◆ GroupState

typedef struct GroupState GroupState

◆ HashInstrumentation

◆ HashJoinState

typedef struct HashJoinState HashJoinState

◆ HashJoinTable

Definition at line 2218 of file execnodes.h.

◆ HashJoinTuple

Definition at line 2217 of file execnodes.h.

◆ HashState

typedef struct HashState HashState

◆ IncrementalSortGroupInfo

◆ IncrementalSortInfo

◆ IncrementalSortState

◆ IndexInfo

typedef struct IndexInfo IndexInfo

◆ IndexOnlyScanState

◆ IndexScanState

◆ JoinState

typedef struct JoinState JoinState

◆ JsonExprState

typedef struct JsonExprState JsonExprState

◆ JunkFilter

typedef struct JunkFilter JunkFilter

◆ LimitState

typedef struct LimitState LimitState

◆ LockRowsState

typedef struct LockRowsState LockRowsState

◆ MaterialState

typedef struct MaterialState MaterialState

◆ MemoizeInstrumentation

◆ MemoizeState

typedef struct MemoizeState MemoizeState

◆ MergeActionState

◆ MergeAppendState

◆ MergeJoinClause

Definition at line 2166 of file execnodes.h.

◆ MergeJoinState

◆ ModifyTableState

◆ NamedTuplestoreScanState

◆ NestLoopState

typedef struct NestLoopState NestLoopState

◆ OnConflictSetState

◆ ParallelAppendState

Definition at line 1443 of file execnodes.h.

◆ ParallelBitmapHeapState

◆ PlanState

typedef struct PlanState PlanState

◆ PresortedKeyData

◆ ProjectionInfo

◆ ProjectSetState

◆ RecursiveUnionState

◆ ResultRelInfo

typedef struct ResultRelInfo ResultRelInfo

◆ ResultState

typedef struct ResultState ResultState

◆ ReturnSetInfo

typedef struct ReturnSetInfo ReturnSetInfo

◆ SampleScanState

◆ ScanState

typedef struct ScanState ScanState

◆ SeqScanState

typedef struct SeqScanState SeqScanState

◆ SetExprState

typedef struct SetExprState SetExprState

◆ SetOpState

typedef struct SetOpState SetOpState

◆ SetOpStatePerInput

◆ SharedAggInfo

typedef struct SharedAggInfo SharedAggInfo

◆ SharedBitmapHeapInstrumentation

◆ SharedHashInfo

◆ SharedIncrementalSortInfo

◆ SharedMemoizeInfo

◆ SharedSortInfo

◆ SortState

typedef struct SortState SortState

◆ SubPlanState

typedef struct SubPlanState SubPlanState

◆ SubqueryScanState

◆ TableFuncScanState

◆ TidRangeScanState

◆ TidScanState

typedef struct TidScanState TidScanState

◆ TupleHashEntry

Definition at line 809 of file execnodes.h.

◆ TupleHashEntryData

◆ TupleHashIterator

typedef tuplehash_iterator TupleHashIterator

Definition at line 847 of file execnodes.h.

◆ TupleHashTable

Definition at line 810 of file execnodes.h.

◆ TupleHashTableData

◆ UniqueState

typedef struct UniqueState UniqueState

◆ ValuesScanState

◆ WindowAggState

◆ WindowAggStatus

◆ WindowFuncExprState

◆ WindowStatePerAgg

Definition at line 2574 of file execnodes.h.

◆ WindowStatePerFunc

Definition at line 2573 of file execnodes.h.

◆ WorkTableScanState

Enumeration Type Documentation

◆ DomainConstraintType

Enumerator
DOM_CONSTRAINT_NOTNULL 
DOM_CONSTRAINT_CHECK 

Definition at line 1008 of file execnodes.h.

1009{
DomainConstraintType
Definition: execnodes.h:1009
@ DOM_CONSTRAINT_CHECK
Definition: execnodes.h:1011
@ DOM_CONSTRAINT_NOTNULL
Definition: execnodes.h:1010

◆ ExprDoneCond

Enumerator
ExprSingleResult 
ExprMultipleResult 
ExprEndResult 

Definition at line 304 of file execnodes.h.

305{
306 ExprSingleResult, /* expression does not return a set */
307 ExprMultipleResult, /* this result is an element of a set */
308 ExprEndResult, /* there are no more elements in the set */
ExprDoneCond
Definition: execnodes.h:305
@ ExprSingleResult
Definition: execnodes.h:306
@ ExprMultipleResult
Definition: execnodes.h:307
@ ExprEndResult
Definition: execnodes.h:308

◆ IncrementalSortExecutionStatus

Enumerator
INCSORT_LOADFULLSORT 
INCSORT_LOADPREFIXSORT 
INCSORT_READFULLSORT 
INCSORT_READPREFIXSORT 

Definition at line 2410 of file execnodes.h.

2411{
IncrementalSortExecutionStatus
Definition: execnodes.h:2411
@ INCSORT_READFULLSORT
Definition: execnodes.h:2414
@ INCSORT_LOADPREFIXSORT
Definition: execnodes.h:2413
@ INCSORT_READPREFIXSORT
Definition: execnodes.h:2415
@ INCSORT_LOADFULLSORT
Definition: execnodes.h:2412

◆ 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.

2866{
2867 LIMIT_INITIAL, /* initial state for LIMIT node */
2868 LIMIT_RESCAN, /* rescan after recomputing parameters */
2869 LIMIT_EMPTY, /* there are no returnable rows */
2870 LIMIT_INWINDOW, /* have returned a row in the window */
2871 LIMIT_WINDOWEND_TIES, /* have returned a tied row */
2872 LIMIT_SUBPLANEOF, /* at EOF of subplan (within window) */
2873 LIMIT_WINDOWEND, /* stepped off end of window */
2874 LIMIT_WINDOWSTART, /* stepped off beginning of window */
LimitStateCond
Definition: execnodes.h:2866
@ LIMIT_WINDOWEND_TIES
Definition: execnodes.h:2871
@ LIMIT_WINDOWEND
Definition: execnodes.h:2873
@ LIMIT_INWINDOW
Definition: execnodes.h:2870
@ LIMIT_SUBPLANEOF
Definition: execnodes.h:2872
@ LIMIT_WINDOWSTART
Definition: execnodes.h:2874
@ LIMIT_EMPTY
Definition: execnodes.h:2869
@ LIMIT_INITIAL
Definition: execnodes.h:2867
@ LIMIT_RESCAN
Definition: execnodes.h:2868

◆ SetFunctionReturnMode

Enumerator
SFRM_ValuePerCall 
SFRM_Materialize 
SFRM_Materialize_Random 
SFRM_Materialize_Preferred 

Definition at line 317 of file execnodes.h.

318{
319 SFRM_ValuePerCall = 0x01, /* one value returned per call */
320 SFRM_Materialize = 0x02, /* result set instantiated in Tuplestore */
321 SFRM_Materialize_Random = 0x04, /* Tuplestore needs randomAccess */
322 SFRM_Materialize_Preferred = 0x08, /* caller prefers Tuplestore */
SetFunctionReturnMode
Definition: execnodes.h:318
@ SFRM_Materialize_Preferred
Definition: execnodes.h:322
@ SFRM_ValuePerCall
Definition: execnodes.h:319
@ SFRM_Materialize_Random
Definition: execnodes.h:321
@ SFRM_Materialize
Definition: execnodes.h:320

◆ SharedBitmapState

Enumerator
BM_INITIAL 
BM_INPROGRESS 
BM_FINISHED 

Definition at line 1785 of file execnodes.h.

1786{
1787 BM_INITIAL,
SharedBitmapState
Definition: execnodes.h:1786
@ BM_INITIAL
Definition: execnodes.h:1787
@ BM_FINISHED
Definition: execnodes.h:1789
@ BM_INPROGRESS
Definition: execnodes.h:1788

◆ WindowAggStatus

Enumerator
WINDOWAGG_DONE 
WINDOWAGG_RUN 
WINDOWAGG_PASSTHROUGH 
WINDOWAGG_PASSTHROUGH_STRICT 

Definition at line 2579 of file execnodes.h.

2580{
2581 WINDOWAGG_DONE, /* No more processing to do */
2582 WINDOWAGG_RUN, /* Normal processing of window funcs */
2583 WINDOWAGG_PASSTHROUGH, /* Don't eval window funcs */
2584 WINDOWAGG_PASSTHROUGH_STRICT, /* Pass-through plus don't store new
2585 * tuples during spool */
WindowAggStatus
Definition: execnodes.h:2580
@ WINDOWAGG_PASSTHROUGH
Definition: execnodes.h:2583
@ WINDOWAGG_RUN
Definition: execnodes.h:2582
@ WINDOWAGG_DONE
Definition: execnodes.h:2581
@ WINDOWAGG_PASSTHROUGH_STRICT
Definition: execnodes.h:2584