このページを編集する際は、編集に関する方針に従ってください。

概要

定数名
T_Invalid0
T_IndexInfo10
T_ExprContext11
T_ProjectionInfo12
T_JunkFilter13
T_ResultRelInfo14
T_EState15
T_TupleTableSlot16
T_Plan = 100100
T_Result101
T_Append102
T_BitmapAnd103
T_BitmapOr104
T_Scan105
T_SeqScan106
T_IndexScan107
T_BitmapIndexScan108
T_BitmapHeapScan109
T_TidScan110
T_SubqueryScan111
T_FunctionScan112
T_Join113
T_NestLoop114
T_MergeJoin115
T_HashJoin116
T_Material117
T_Sort118
T_Group119
T_Agg120
T_Unique121
T_Hash122
T_SetOp123
T_Limit124
T_PlanState200
T_ResultState201
T_AppendState202
T_BitmapAndState203
T_BitmapOrState204
T_ScanState205
T_SeqScanState206
T_IndexScanState207
T_BitmapIndexScanState208
T_BitmapHeapScanState209
T_TidScanState210
T_SubqueryScanState211
T_FunctionScanState212
T_JoinState213
T_NestLoopState214
T_MergeJoinState215
T_HashJoinState216
T_MaterialState217
T_SortState218
T_GroupState219
T_AggState220
T_UniqueState221
T_HashState222
T_SetOpState223
T_LimitState224
T_Alias300
T_RangeVar301
T_Expr302
T_Var303
T_Const304
T_Param305
T_Aggref306
T_ArrayRef307
T_FuncExpr308
T_OpExpr309
T_DistinctExpr310
T_ScalarArrayOpExpr311
T_BoolExpr312
T_SubLink313
T_SubPlan314
T_FieldSelect315
T_FieldStore316
T_RelabelType317
T_ConvertRowtypeExpr318
T_CaseExpr319
T_CaseWhen320
T_CaseTestExpr321
T_ArrayExpr322
T_RowExpr323
T_CoalesceExpr324
T_MinMaxExpr325
T_NullIfExpr326
T_NullTest327
T_BooleanTest328
T_CoerceToDomain329
T_CoerceToDomainValue330
T_SetToDefault331
T_TargetEntry332
T_RangeTblRef333
T_JoinExpr334
T_FromExpr335
T_ExprState400
T_GenericExprState401
T_AggrefExprState402
T_ArrayRefExprState403
T_FuncExprState404
T_ScalarArrayOpExprState405
T_BoolExprState406
T_SubPlanState407
T_FieldSelectState408
T_FieldStoreState409
T_ConvertRowtypeExprState410
T_CaseExprState411
T_CaseWhenState412
T_ArrayExprState413
T_RowExprState414
T_CoalesceExprState415
T_MinMaxExprState416
T_CoerceToDomainState417
T_DomainConstraintState418
T_PlannerInfo500
T_RelOptInfo501
T_IndexOptInfo502
T_Path503
T_IndexPath504
T_BitmapHeapPath505
T_BitmapAndPath506
T_BitmapOrPath507
T_NestPath508
T_MergePath509
T_HashPath510
T_TidPath511
T_AppendPath512
T_ResultPath513
T_MaterialPath514
T_UniquePath515
T_PathKeyItem516
T_RestrictInfo517
T_InnerIndexscanInfo518
T_InClauseInfo519
T_MemoryContext600
T_AllocSetContext601
T_Value650
T_Integer651
T_Float652
T_String653
T_BitString654
T_Null655
T_List656
T_IntList657
T_OidList658
T_Query700
T_InsertStmt701
T_DeleteStmt702
T_UpdateStmt703
T_SelectStmt704
T_AlterTableStmt705
T_AlterTableCmd706
T_AlterDomainStmt707
T_SetOperationStmt708
T_GrantStmt709
T_GrantRoleStmt710
T_ClosePortalStmt711
T_ClusterStmt712
T_CopyStmt713
T_CreateStmt714
T_DefineStmt715
T_DropStmt716
T_TruncateStmt717
T_CommentStmt718
T_FetchStmt719
T_IndexStmt720
T_CreateFunctionStmt721
T_AlterFunctionStmt722
T_RemoveAggrStmt723
T_RemoveFuncStmt724
T_RemoveOperStmt725
T_RenameStmt726
T_RuleStmt727
T_NotifyStmt728
T_ListenStmt729
T_UnlistenStmt730
T_TransactionStmt731
T_ViewStmt732
T_LoadStmt733
T_CreateDomainStmt734
T_CreatedbStmt735
T_DropdbStmt736
T_VacuumStmt737
T_ExplainStmt738
T_CreateSeqStmt739
T_AlterSeqStmt740
T_VariableSetStmt741
T_VariableShowStmt742
T_VariableResetStmt743
T_CreateTrigStmt744
T_DropPropertyStmt745
T_CreatePLangStmt746
T_DropPLangStmt747
T_CreateRoleStmt748
T_AlterRoleStmt749
T_DropRoleStmt750
T_LockStmt751
T_ConstraintsSetStmt752
T_ReindexStmt753
T_CheckPointStmt754
T_CreateSchemaStmt755
T_AlterDatabaseStmt756
T_AlterDatabaseSetStmt757
T_AlterRoleSetStmt758
T_CreateConversionStmt759
T_CreateCastStmt760
T_DropCastStmt761
T_CreateOpClassStmt762
T_RemoveOpClassStmt763
T_PrepareStmt764
T_ExecuteStmt765
T_DeallocateStmt766
T_DeclareCursorStmt767
T_CreateTableSpaceStmt768
T_DropTableSpaceStmt769
T_AlterObjectSchemaStmt770
T_AlterOwnerStmt771
T_A_Expr800
T_ColumnRef801
T_ParamRef802
T_A_Const803
T_FuncCall804
T_A_Indices805
T_A_Indirection806
T_ResTarget807
T_TypeCast808
T_SortBy809
T_RangeSubselect810
T_RangeFunction811
T_TypeName812
T_ColumnDef813
T_IndexElem814
T_Constraint815
T_DefElem816
T_RangeTblEntry817
T_SortClause818
T_GroupClause819
T_FkConstraint820
T_PrivGrantee821
T_FuncWithArgs822
T_PrivTarget823
T_CreateOpClassItem824
T_CompositeTypeStmt825
T_InhRelation826
T_FunctionParameter827
T_LockingClause828
T_TriggerData900
T_ReturnSetInfo901
T_TIDBitmap902

実装

typedef enum NodeTag {

	T_Invalid = 0,
	/*
	 * TAGS FOR EXECUTOR NODES (execnodes.h)
	 */
	T_IndexInfo = 10,
	T_ExprContext,
	T_ProjectionInfo,
	T_JunkFilter,
	T_ResultRelInfo,
	T_EState,
	T_TupleTableSlot,
	/*
	 * TAGS FOR PLAN NODES (plannodes.h)
	 */
	T_Plan = 100,
	T_Result,
	T_Append,
	T_BitmapAnd,
	T_BitmapOr,
	T_Scan,
	T_SeqScan,
	T_IndexScan,
	T_BitmapIndexScan,
	T_BitmapHeapScan,
	T_TidScan,
	T_SubqueryScan,
	T_FunctionScan,
	T_Join,
	T_NestLoop,
	T_MergeJoin,
	T_HashJoin,
	T_Material,
	T_Sort,
	T_Group,
	T_Agg,
	T_Unique,
	T_Hash,
	T_SetOp,
	T_Limit,
	/*
	 * TAGS FOR PLAN STATE NODES (execnodes.h)
	 *
	 * These should correspond one-to-one with Plan node types.
	 */
	T_PlanState = 200,
	T_ResultState,
	T_AppendState,
	T_BitmapAndState,
	T_BitmapOrState,
	T_ScanState,
	T_SeqScanState,
	T_IndexScanState,
	T_BitmapIndexScanState,
	T_BitmapHeapScanState,
	T_TidScanState,
	T_SubqueryScanState,
	T_FunctionScanState,
	T_JoinState,
	T_NestLoopState,
	T_MergeJoinState,
	T_HashJoinState,
	T_MaterialState,
	T_SortState,
	T_GroupState,
	T_AggState,
	T_UniqueState,
	T_HashState,
	T_SetOpState,
	T_LimitState,
	/*
	 * TAGS FOR PRIMITIVE NODES (primnodes.h)
	 */
	T_Alias = 300,
	T_RangeVar,
	T_Expr,
	T_Var,
	T_Const,
	T_Param,
	T_Aggref,
	T_ArrayRef,
	T_FuncExpr,
	T_OpExpr,
	T_DistinctExpr,
	T_ScalarArrayOpExpr,
	T_BoolExpr,
	T_SubLink,
	T_SubPlan,
	T_FieldSelect,
	T_FieldStore,
	T_RelabelType,
	T_ConvertRowtypeExpr,
	T_CaseExpr,
	T_CaseWhen,
	T_CaseTestExpr,
	T_ArrayExpr,
	T_RowExpr,
	T_CoalesceExpr,
	T_MinMaxExpr,
	T_NullIfExpr,
	T_NullTest,
	T_BooleanTest,
	T_CoerceToDomain,
	T_CoerceToDomainValue,
	T_SetToDefault,
	T_TargetEntry,
	T_RangeTblRef,
	T_JoinExpr,
	T_FromExpr,
	/*
	 * TAGS FOR EXPRESSION STATE NODES (execnodes.h)
	 *
	 * These correspond (not always one-for-one) to primitive nodes derived
	 * from Expr.
	 */
	T_ExprState = 400,
	T_GenericExprState,
	T_AggrefExprState,
	T_ArrayRefExprState,
	T_FuncExprState,
	T_ScalarArrayOpExprState,
	T_BoolExprState,
	T_SubPlanState,
	T_FieldSelectState,
	T_FieldStoreState,
	T_ConvertRowtypeExprState,
	T_CaseExprState,
	T_CaseWhenState,
	T_ArrayExprState,
	T_RowExprState,
	T_CoalesceExprState,
	T_MinMaxExprState,
	T_CoerceToDomainState,
	T_DomainConstraintState,
	/*
	 * TAGS FOR PLANNER NODES (relation.h)
	 */
	T_PlannerInfo = 500,
	T_RelOptInfo,
	T_IndexOptInfo,
	T_Path,
	T_IndexPath,
	T_BitmapHeapPath,
	T_BitmapAndPath,
	T_BitmapOrPath,
	T_NestPath,
	T_MergePath,
	T_HashPath,
	T_TidPath,
	T_AppendPath,
	T_ResultPath,
	T_MaterialPath,
	T_UniquePath,
	T_PathKeyItem,
	T_RestrictInfo,
	T_InnerIndexscanInfo,
	T_InClauseInfo,
	/*
	 * TAGS FOR MEMORY NODES (memnodes.h)
	 */
	T_MemoryContext = 600,
	T_AllocSetContext,
	/*
	 * TAGS FOR VALUE NODES (value.h)
	 */
	T_Value = 650,
	T_Integer,
	T_Float,
	T_String,
	T_BitString,
	T_Null,
	/*
	 * TAGS FOR LIST NODES (pg_list.h)
	 */
	T_List,
	T_IntList,
	T_OidList,
	/*
	 * TAGS FOR PARSE TREE NODES (parsenodes.h)
	 */
	T_Query = 700,
	T_InsertStmt,
	T_DeleteStmt,
	T_UpdateStmt,
	T_SelectStmt,
	T_AlterTableStmt,
	T_AlterTableCmd,
	T_AlterDomainStmt,
	T_SetOperationStmt,
	T_GrantStmt,
	T_GrantRoleStmt,
	T_ClosePortalStmt,
	T_ClusterStmt,
	T_CopyStmt,
	T_CreateStmt,
	T_DefineStmt,
	T_DropStmt,
	T_TruncateStmt,
	T_CommentStmt,
	T_FetchStmt,
	T_IndexStmt,
	T_CreateFunctionStmt,
	T_AlterFunctionStmt,
	T_RemoveAggrStmt,
	T_RemoveFuncStmt,
	T_RemoveOperStmt,
	T_RenameStmt,
	T_RuleStmt,
	T_NotifyStmt,
	T_ListenStmt,
	T_UnlistenStmt,
	T_TransactionStmt,
	T_ViewStmt,
	T_LoadStmt,
	T_CreateDomainStmt,
	T_CreatedbStmt,
	T_DropdbStmt,
	T_VacuumStmt,
	T_ExplainStmt,
	T_CreateSeqStmt,
	T_AlterSeqStmt,
	T_VariableSetStmt,
	T_VariableShowStmt,
	T_VariableResetStmt,
	T_CreateTrigStmt,
	T_DropPropertyStmt,
	T_CreatePLangStmt,
	T_DropPLangStmt,
	T_CreateRoleStmt,
	T_AlterRoleStmt,
	T_DropRoleStmt,
	T_LockStmt,
	T_ConstraintsSetStmt,
	T_ReindexStmt,
	T_CheckPointStmt,
	T_CreateSchemaStmt,
	T_AlterDatabaseStmt,
	T_AlterDatabaseSetStmt,
	T_AlterRoleSetStmt,
	T_CreateConversionStmt,
	T_CreateCastStmt,
	T_DropCastStmt,
	T_CreateOpClassStmt,
	T_RemoveOpClassStmt,
	T_PrepareStmt,
	T_ExecuteStmt,
	T_DeallocateStmt,
	T_DeclareCursorStmt,
	T_CreateTableSpaceStmt,
	T_DropTableSpaceStmt,
	T_AlterObjectSchemaStmt,
	T_AlterOwnerStmt,
	T_A_Expr = 800,
	T_ColumnRef,
	T_ParamRef,
	T_A_Const,
	T_FuncCall,
	T_A_Indices,
	T_A_Indirection,
	T_ResTarget,
	T_TypeCast,
	T_SortBy,
	T_RangeSubselect,
	T_RangeFunction,
	T_TypeName,
	T_ColumnDef,
	T_IndexElem,
	T_Constraint,
	T_DefElem,
	T_RangeTblEntry,
	T_SortClause,
	T_GroupClause,
	T_FkConstraint,
	T_PrivGrantee,
	T_FuncWithArgs,
	T_PrivTarget,
	T_CreateOpClassItem,
	T_CompositeTypeStmt,
	T_InhRelation,
	T_FunctionParameter,
	T_LockingClause,
	/*
	 * TAGS FOR RANDOM OTHER STUFF
	 *
	 * These are objects that aren't part of parse/plan/execute node tree
	 * structures, but we give them NodeTags anyway for identification
	 * purposes (usually because they are involved in APIs where we want to
	 * pass multiple object types through the same pointer).
	 */
	T_TriggerData = 900,		/* in commands/trigger.h */
	T_ReturnSetInfo,			/* in nodes/execnodes.h */
	T_TIDBitmap					/* in nodes/tidbitmap.h */

} NodeTag;

呼出元

備考

/*
* The first field of every node is NodeTag. Each node created (with makeNode)
* will have one of the following tags as the value of its first field.
*
* Note that the numbers of the node tags are not contiguous. We left holes
* here so that we can add more tags without changing the existing enum's.
* (Since node tag numbers never exist outside backend memory, there's no
* real harm in renumbering, it just costs a full rebuild ...)
*/

履歴

コメント



トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS