PostgreSQL Source Code
git master
|
#include "access/sdir.h"
#include "access/stratnum.h"
#include "lib/stringinfo.h"
#include "nodes/bitmapset.h"
#include "nodes/lockoptions.h"
#include "nodes/primnodes.h"
Go to the source code of this file.
Data Structures | |
struct | PlannedStmt |
struct | Plan |
struct | Result |
struct | ProjectSet |
struct | ModifyTable |
struct | Append |
struct | MergeAppend |
struct | RecursiveUnion |
struct | BitmapAnd |
struct | BitmapOr |
struct | Scan |
struct | SampleScan |
struct | IndexScan |
struct | IndexOnlyScan |
struct | BitmapIndexScan |
struct | BitmapHeapScan |
struct | TidScan |
struct | TidRangeScan |
struct | SubqueryScan |
struct | FunctionScan |
struct | ValuesScan |
struct | TableFuncScan |
struct | CteScan |
struct | NamedTuplestoreScan |
struct | WorkTableScan |
struct | ForeignScan |
struct | CustomScan |
struct | Join |
struct | NestLoop |
struct | NestLoopParam |
struct | MergeJoin |
struct | HashJoin |
struct | Material |
struct | Sort |
struct | IncrementalSort |
struct | Group |
struct | Agg |
struct | WindowAgg |
struct | Unique |
struct | Gather |
struct | GatherMerge |
struct | Hash |
struct | SetOp |
struct | LockRows |
struct | Limit |
struct | PlanRowMark |
struct | PartitionPruneInfo |
struct | PartitionedRelPruneInfo |
struct | PartitionPruneStep |
struct | PartitionPruneStepOp |
struct | PartitionPruneStepCombine |
struct | PlanInvalItem |
Macros | |
#define | exec_subplan_get_plan(plannedstmt, subplan) ((Plan *) list_nth((plannedstmt)->subplans, (subplan)->plan_id - 1)) |
#define | innerPlan(node) (((Plan *)(node))->righttree) |
#define | outerPlan(node) (((Plan *)(node))->lefttree) |
#define | RowMarkRequiresRowShareLock(marktype) ((marktype) <= ROW_MARK_KEYSHARE) |
#define exec_subplan_get_plan | ( | plannedstmt, | |
subplan | |||
) | ((Plan *) list_nth((plannedstmt)->subplans, (subplan)->plan_id - 1)) |
Definition at line 94 of file plannodes.h.
#define innerPlan | ( | node | ) | (((Plan *)(node))->righttree) |
Definition at line 165 of file plannodes.h.
Referenced by ExecInitCteScan(), ExecInitFunctionScan(), ExecInitGather(), ExecInitGatherMerge(), ExecInitHashJoin(), ExecInitMergeJoin(), ExecInitNamedTuplestoreScan(), ExecInitNestLoop(), ExecInitProjectSet(), ExecInitRecursiveUnion(), ExecInitResult(), ExecInitSampleScan(), ExecInitSeqScan(), ExecInitSubqueryScan(), ExecInitTableFuncScan(), ExecInitValuesScan(), ExecInitWorkTableScan(), ExecMergeJoin(), ExecNestLoop(), ExecRecursiveUnion(), ExecReScanRecursiveUnion(), find_param_referent(), and set_deparse_plan().
#define outerPlan | ( | node | ) | (((Plan *)(node))->lefttree) |
Definition at line 166 of file plannodes.h.
Referenced by begin_partition(), ExecCreateScanSlotFromOuterPlan(), ExecEndAgg(), ExecEndGroup(), ExecEndHash(), ExecEndWindowAgg(), ExecHashTableCreate(), ExecInitAgg(), ExecInitBitmapHeapScan(), ExecInitCteScan(), ExecInitForeignScan(), ExecInitFunctionScan(), ExecInitGather(), ExecInitGatherMerge(), ExecInitGroup(), ExecInitHash(), ExecInitHashJoin(), ExecInitIncrementalSort(), ExecInitLimit(), ExecInitLockRows(), ExecInitMaterial(), ExecInitMergeJoin(), ExecInitNamedTuplestoreScan(), ExecInitNestLoop(), ExecInitProjectSet(), ExecInitRecursiveUnion(), ExecInitResult(), ExecInitSampleScan(), ExecInitSeqScan(), ExecInitSetOp(), ExecInitSort(), ExecInitSubqueryScan(), ExecInitTableFuncScan(), ExecInitUnique(), ExecInitValuesScan(), ExecInitWindowAgg(), ExecInitWorkTableScan(), ExecLimit(), ExecLockRows(), ExecMergeJoin(), ExecNestLoop(), ExecProjectSet(), ExecRecursiveUnion(), ExecReScanAgg(), ExecReScanBitmapHeapScan(), ExecReScanForeignScan(), ExecReScanGather(), ExecReScanGatherMerge(), ExecReScanGroup(), ExecReScanIncrementalSort(), ExecReScanMaterial(), ExecReScanNestLoop(), ExecReScanRecursiveUnion(), ExecReScanSort(), ExecReScanWindowAgg(), ExecResult(), ExecResultMarkPos(), ExecResultRestrPos(), ExecSupportsBackwardScan(), ExecUnique(), gather_getnext(), gather_merge_readnext(), postgresRecheckForeignScan(), set_deparse_plan(), setop_fill_hash_table(), setop_retrieve_direct(), and spool_tuples().
#define RowMarkRequiresRowShareLock | ( | marktype | ) | ((marktype) <= ROW_MARK_KEYSHARE) |
Definition at line 1046 of file plannodes.h.
Referenced by EvalPlanQualFetchRowMark(), execCurrentOf(), and ExecInitLockRows().
typedef struct BitmapHeapScan BitmapHeapScan |
typedef struct BitmapIndexScan BitmapIndexScan |
typedef struct CustomScan CustomScan |
typedef struct ForeignScan ForeignScan |
typedef struct FunctionScan FunctionScan |
typedef struct GatherMerge GatherMerge |
typedef struct IncrementalSort IncrementalSort |
typedef struct IndexOnlyScan IndexOnlyScan |
typedef struct MergeAppend MergeAppend |
typedef struct ModifyTable ModifyTable |
typedef struct NamedTuplestoreScan NamedTuplestoreScan |
typedef struct NestLoopParam NestLoopParam |
typedef struct PartitionedRelPruneInfo PartitionedRelPruneInfo |
typedef enum PartitionPruneCombineOp PartitionPruneCombineOp |
typedef struct PartitionPruneInfo PartitionPruneInfo |
typedef struct PartitionPruneStep PartitionPruneStep |
typedef struct PartitionPruneStepCombine PartitionPruneStepCombine |
typedef struct PartitionPruneStepOp PartitionPruneStepOp |
typedef struct PlanInvalItem PlanInvalItem |
typedef struct PlannedStmt PlannedStmt |
typedef struct PlanRowMark PlanRowMark |
typedef struct ProjectSet ProjectSet |
typedef struct RecursiveUnion RecursiveUnion |
typedef enum RowMarkType RowMarkType |
typedef struct SampleScan SampleScan |
Definition at line 344 of file plannodes.h.
typedef struct SubqueryScan SubqueryScan |
typedef struct TableFuncScan TableFuncScan |
typedef struct TidRangeScan TidRangeScan |
typedef struct ValuesScan ValuesScan |
typedef struct WorkTableScan WorkTableScan |
Enumerator | |
---|---|
PARTPRUNE_COMBINE_UNION | |
PARTPRUNE_COMBINE_INTERSECT |
Definition at line 1233 of file plannodes.h.
enum RowMarkType |
Enumerator | |
---|---|
ROW_MARK_EXCLUSIVE | |
ROW_MARK_NOKEYEXCLUSIVE | |
ROW_MARK_SHARE | |
ROW_MARK_KEYSHARE | |
ROW_MARK_REFERENCE | |
ROW_MARK_COPY |
Definition at line 1036 of file plannodes.h.