# `pglast.enums.nodes` — Constants extracted from nodes.h

class pglast.enums.nodes.AggSplit

  Corresponds to the AggSplit enum.

  AGGSPLIT_SIMPLE
  AGGSPLIT_INITIAL_SERIAL
  AGGSPLIT_FINAL_DESERIAL

class pglast.enums.nodes.AggStrategy

  Corresponds to the AggStrategy enum.

  AGG_PLAIN
  AGG_SORTED
  AGG_HASHED
  AGG_MIXED

class pglast.enums.nodes.CmdType

  Corresponds to the CmdType enum.

  CMD_UNKNOWN
  CMD_SELECT
  CMD_UPDATE
  CMD_INSERT
  CMD_DELETE
  CMD_MERGE
  CMD_UTILITY
  CMD_NOTHING

class pglast.enums.nodes.JoinType

  Corresponds to the JoinType enum.

  JOIN_INNER
  JOIN_LEFT
  JOIN_FULL
  JOIN_RIGHT
  JOIN_SEMI
  JOIN_ANTI
  JOIN_RIGHT_ANTI
  JOIN_UNIQUE_OUTER
  JOIN_UNIQUE_INNER

class pglast.enums.nodes.LimitOption

  Corresponds to the LimitOption enum.

  LIMIT_OPTION_DEFAULT
  LIMIT_OPTION_COUNT
  LIMIT_OPTION_WITH_TIES

class pglast.enums.nodes.NodeTag

  Corresponds to the NodeTag enum.

  T_Invalid
  T_List
  T_Alias
  T_RangeVar
  T_TableFunc
  T_IntoClause
  T_Var
  T_Const
  T_Param
  T_Aggref
  T_GroupingFunc
  T_WindowFunc
  T_WindowFuncRunCondition
  T_MergeSupportFunc
  T_SubscriptingRef
  T_FuncExpr
  T_NamedArgExpr
  T_OpExpr
  T_DistinctExpr
  T_NullIfExpr
  T_ScalarArrayOpExpr
  T_BoolExpr
  T_SubLink
  T_SubPlan
  T_AlternativeSubPlan
  T_FieldSelect
  T_FieldStore
  T_RelabelType
  T_CoerceViaIO
  T_ArrayCoerceExpr
  T_ConvertRowtypeExpr
  T_CollateExpr
  T_CaseExpr
  T_CaseWhen
  T_CaseTestExpr
  T_ArrayExpr
  T_RowExpr
  T_RowCompareExpr
  T_CoalesceExpr
  T_MinMaxExpr
  T_SQLValueFunction
  T_XmlExpr
  T_JsonFormat
  T_JsonReturning
  T_JsonValueExpr
  T_JsonConstructorExpr
  T_JsonIsPredicate
  T_JsonBehavior
  T_JsonExpr
  T_JsonTablePath
  T_JsonTablePathScan
  T_JsonTableSiblingJoin
  T_NullTest
  T_BooleanTest
  T_MergeAction
  T_CoerceToDomain
  T_CoerceToDomainValue
  T_SetToDefault
  T_CurrentOfExpr
  T_NextValueExpr
  T_InferenceElem
  T_TargetEntry
  T_RangeTblRef
  T_JoinExpr
  T_FromExpr
  T_OnConflictExpr
  T_Query
  T_TypeName
  T_ColumnRef
  T_ParamRef
  T_A_Expr
  T_A_Const
  T_TypeCast
  T_CollateClause
  T_RoleSpec
  T_FuncCall
  T_A_Star
  T_A_Indices
  T_A_Indirection
  T_A_ArrayExpr
  T_ResTarget
  T_MultiAssignRef
  T_SortBy
  T_WindowDef
  T_RangeSubselect
  T_RangeFunction
  T_RangeTableFunc
  T_RangeTableFuncCol
  T_RangeTableSample
  T_ColumnDef
  T_TableLikeClause
  T_IndexElem
  T_DefElem
  T_LockingClause
  T_XmlSerialize
  T_PartitionElem
  T_PartitionSpec
  T_PartitionBoundSpec
  T_PartitionRangeDatum
  T_SinglePartitionSpec
  T_PartitionCmd
  T_RangeTblEntry
  T_RTEPermissionInfo
  T_RangeTblFunction
  T_TableSampleClause
  T_WithCheckOption
  T_SortGroupClause
  T_GroupingSet
  T_WindowClause
  T_RowMarkClause
  T_WithClause
  T_InferClause
  T_OnConflictClause
  T_CTESearchClause
  T_CTECycleClause
  T_CommonTableExpr
  T_MergeWhenClause
  T_TriggerTransition
  T_JsonOutput
  T_JsonArgument
  T_JsonFuncExpr
  T_JsonTablePathSpec
  T_JsonTable
  T_JsonTableColumn
  T_JsonKeyValue
  T_JsonParseExpr
  T_JsonScalarExpr
  T_JsonSerializeExpr
  T_JsonObjectConstructor
  T_JsonArrayConstructor
  T_JsonArrayQueryConstructor
  T_JsonAggConstructor
  T_JsonObjectAgg
  T_JsonArrayAgg
  T_RawStmt
  T_InsertStmt
  T_DeleteStmt
  T_UpdateStmt
  T_MergeStmt
  T_SelectStmt
  T_SetOperationStmt
  T_ReturnStmt
  T_PLAssignStmt
  T_CreateSchemaStmt
  T_AlterTableStmt
  T_ReplicaIdentityStmt
  T_AlterTableCmd
  T_AlterCollationStmt
  T_AlterDomainStmt
  T_GrantStmt
  T_ObjectWithArgs
  T_AccessPriv
  T_GrantRoleStmt
  T_AlterDefaultPrivilegesStmt
  T_CopyStmt
  T_VariableSetStmt
  T_VariableShowStmt
  T_CreateStmt
  T_Constraint
  T_CreateTableSpaceStmt
  T_DropTableSpaceStmt
  T_AlterTableSpaceOptionsStmt
  T_AlterTableMoveAllStmt
  T_CreateExtensionStmt
  T_AlterExtensionStmt
  T_AlterExtensionContentsStmt
  T_CreateFdwStmt
  T_AlterFdwStmt
  T_CreateForeignServerStmt
  T_AlterForeignServerStmt
  T_CreateForeignTableStmt
  T_CreateUserMappingStmt
  T_AlterUserMappingStmt
  T_DropUserMappingStmt
  T_ImportForeignSchemaStmt
  T_CreatePolicyStmt
  T_AlterPolicyStmt
  T_CreateAmStmt
  T_CreateTrigStmt
  T_CreateEventTrigStmt
  T_AlterEventTrigStmt
  T_CreatePLangStmt
  T_CreateRoleStmt
  T_AlterRoleStmt
  T_AlterRoleSetStmt
  T_DropRoleStmt
  T_CreateSeqStmt
  T_AlterSeqStmt
  T_DefineStmt
  T_CreateDomainStmt
  T_CreateOpClassStmt
  T_CreateOpClassItem
  T_CreateOpFamilyStmt
  T_AlterOpFamilyStmt
  T_DropStmt
  T_TruncateStmt
  T_CommentStmt
  T_SecLabelStmt
  T_DeclareCursorStmt
  T_ClosePortalStmt
  T_FetchStmt
  T_IndexStmt
  T_CreateStatsStmt
  T_StatsElem
  T_AlterStatsStmt
  T_CreateFunctionStmt
  T_FunctionParameter
  T_AlterFunctionStmt
  T_DoStmt
  T_InlineCodeBlock
  T_CallStmt
  T_CallContext
  T_RenameStmt
  T_AlterObjectDependsStmt
  T_AlterObjectSchemaStmt
  T_AlterOwnerStmt
  T_AlterOperatorStmt
  T_AlterTypeStmt
  T_RuleStmt
  T_NotifyStmt
  T_ListenStmt
  T_UnlistenStmt
  T_TransactionStmt
  T_CompositeTypeStmt
  T_CreateEnumStmt
  T_CreateRangeStmt
  T_AlterEnumStmt
  T_ViewStmt
  T_LoadStmt
  T_CreatedbStmt
  T_AlterDatabaseStmt
  T_AlterDatabaseRefreshCollStmt
  T_AlterDatabaseSetStmt
  T_DropdbStmt
  T_AlterSystemStmt
  T_ClusterStmt
  T_VacuumStmt
  T_VacuumRelation
  T_ExplainStmt
  T_CreateTableAsStmt
  T_RefreshMatViewStmt
  T_CheckPointStmt
  T_DiscardStmt
  T_LockStmt
  T_ConstraintsSetStmt
  T_ReindexStmt
  T_CreateConversionStmt
  T_CreateCastStmt
  T_CreateTransformStmt
  T_PrepareStmt
  T_ExecuteStmt
  T_DeallocateStmt
  T_DropOwnedStmt
  T_ReassignOwnedStmt
  T_AlterTSDictionaryStmt
  T_AlterTSConfigurationStmt
  T_PublicationTable
  T_PublicationObjSpec
  T_CreatePublicationStmt
  T_AlterPublicationStmt
  T_CreateSubscriptionStmt
  T_AlterSubscriptionStmt
  T_DropSubscriptionStmt
  T_PlannerGlobal
  T_PlannerInfo
  T_RelOptInfo
  T_IndexOptInfo
  T_ForeignKeyOptInfo
  T_StatisticExtInfo
  T_JoinDomain
  T_EquivalenceClass
  T_EquivalenceMember
  T_PathKey
  T_GroupByOrdering
  T_PathTarget
  T_ParamPathInfo
  T_Path
  T_IndexPath
  T_IndexClause
  T_BitmapHeapPath
  T_BitmapAndPath
  T_BitmapOrPath
  T_TidPath
  T_TidRangePath
  T_SubqueryScanPath
  T_ForeignPath
  T_CustomPath
  T_AppendPath
  T_MergeAppendPath
  T_GroupResultPath
  T_MaterialPath
  T_MemoizePath
  T_UniquePath
  T_GatherPath
  T_GatherMergePath
  T_NestPath
  T_MergePath
  T_HashPath
  T_ProjectionPath
  T_ProjectSetPath
  T_SortPath
  T_IncrementalSortPath
  T_GroupPath
  T_UpperUniquePath
  T_AggPath
  T_GroupingSetData
  T_RollupData
  T_GroupingSetsPath
  T_MinMaxAggPath
  T_WindowAggPath
  T_SetOpPath
  T_RecursiveUnionPath
  T_LockRowsPath
  T_ModifyTablePath
  T_LimitPath
  T_RestrictInfo
  T_PlaceHolderVar
  T_SpecialJoinInfo
  T_OuterJoinClauseInfo
  T_AppendRelInfo
  T_RowIdentityVarInfo
  T_PlaceHolderInfo
  T_MinMaxAggInfo
  T_PlannerParamItem
  T_AggInfo
  T_AggTransInfo
  T_PlannedStmt
  T_Result
  T_ProjectSet
  T_ModifyTable
  T_Append
  T_MergeAppend
  T_RecursiveUnion
  T_BitmapAnd
  T_BitmapOr
  T_SeqScan
  T_SampleScan
  T_IndexScan
  T_IndexOnlyScan
  T_BitmapIndexScan
  T_BitmapHeapScan
  T_TidScan
  T_TidRangeScan
  T_SubqueryScan
  T_FunctionScan
  T_ValuesScan
  T_TableFuncScan
  T_CteScan
  T_NamedTuplestoreScan
  T_WorkTableScan
  T_ForeignScan
  T_CustomScan
  T_NestLoop
  T_NestLoopParam
  T_MergeJoin
  T_HashJoin
  T_Material
  T_Memoize
  T_Sort
  T_IncrementalSort
  T_Group
  T_Agg
  T_WindowAgg
  T_Unique
  T_Gather
  T_GatherMerge
  T_Hash
  T_SetOp
  T_LockRows
  T_Limit
  T_PlanRowMark
  T_PartitionPruneInfo
  T_PartitionedRelPruneInfo
  T_PartitionPruneStepOp
  T_PartitionPruneStepCombine
  T_PlanInvalItem
  T_ExprState
  T_IndexInfo
  T_ExprContext
  T_ReturnSetInfo
  T_ProjectionInfo
  T_JunkFilter
  T_OnConflictSetState
  T_MergeActionState
  T_ResultRelInfo
  T_EState
  T_WindowFuncExprState
  T_SetExprState
  T_SubPlanState
  T_DomainConstraintState
  T_ResultState
  T_ProjectSetState
  T_ModifyTableState
  T_AppendState
  T_MergeAppendState
  T_RecursiveUnionState
  T_BitmapAndState
  T_BitmapOrState
  T_ScanState
  T_SeqScanState
  T_SampleScanState
  T_IndexScanState
  T_IndexOnlyScanState
  T_BitmapIndexScanState
  T_BitmapHeapScanState
  T_TidScanState
  T_TidRangeScanState
  T_SubqueryScanState
  T_FunctionScanState
  T_ValuesScanState
  T_TableFuncScanState
  T_CteScanState
  T_NamedTuplestoreScanState
  T_WorkTableScanState
  T_ForeignScanState
  T_CustomScanState
  T_JoinState
  T_NestLoopState
  T_MergeJoinState
  T_HashJoinState
  T_MaterialState
  T_MemoizeState
  T_SortState
  T_IncrementalSortState
  T_GroupState
  T_AggState
  T_WindowAggState
  T_UniqueState
  T_GatherState
  T_GatherMergeState
  T_HashState
  T_SetOpState
  T_LockRowsState
  T_LimitState
  T_IndexAmRoutine
  T_TableAmRoutine
  T_TsmRoutine
  T_EventTriggerData
  T_TriggerData
  T_TupleTableSlot
  T_FdwRoutine
  T_Bitmapset
  T_ExtensibleNode
  T_ErrorSaveContext
  T_IdentifySystemCmd
  T_BaseBackupCmd
  T_CreateReplicationSlotCmd
  T_DropReplicationSlotCmd
  T_AlterReplicationSlotCmd
  T_StartReplicationCmd
  T_ReadReplicationSlotCmd
  T_TimeLineHistoryCmd
  T_UploadManifestCmd
  T_SupportRequestSimplify
  T_SupportRequestSelectivity
  T_SupportRequestCost
  T_SupportRequestRows
  T_SupportRequestIndexCondition
  T_SupportRequestWFuncMonotonic
  T_SupportRequestOptimizeWindowClause
  T_Integer
  T_Float
  T_Boolean
  T_String
  T_BitString
  T_ForeignKeyCacheInfo
  T_IntList
  T_OidList
  T_XidList
  T_AllocSetContext
  T_GenerationContext
  T_SlabContext
  T_BumpContext
  T_TIDBitmap
  T_WindowObjectData

class pglast.enums.nodes.OnConflictAction

  Corresponds to the OnConflictAction enum.

  ONCONFLICT_NONE
  ONCONFLICT_NOTHING
  ONCONFLICT_UPDATE

class pglast.enums.nodes.SetOpCmd

  Corresponds to the SetOpCmd enum.

  SETOPCMD_INTERSECT
  SETOPCMD_INTERSECT_ALL
  SETOPCMD_EXCEPT
  SETOPCMD_EXCEPT_ALL

class pglast.enums.nodes.SetOpStrategy

  Corresponds to the SetOpStrategy enum.

  SETOP_SORTED
  SETOP_HASHED

pglast.enums.nodes.AGGSPLITOP_COMBINE

  See here for details.

pglast.enums.nodes.AGGSPLITOP_SKIPFINAL

  See here for details.

pglast.enums.nodes.AGGSPLITOP_SERIALIZE

  See here for details.

pglast.enums.nodes.AGGSPLITOP_DESERIALIZE

  See here for details.