PostgreSQL Source Code  git master
nodes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Node
 

Macros

#define nodeTag(nodeptr)   (((const Node*)(nodeptr))->type)
 
#define newNode(size, tag)
 
#define makeNode(_type_)   ((_type_ *) newNode(sizeof(_type_),T_##_type_))
 
#define NodeSetTag(nodeptr, t)   (((Node*)(nodeptr))->type = (t))
 
#define IsA(nodeptr, _type_)   (nodeTag(nodeptr) == T_##_type_)
 
#define castNode(_type_, nodeptr)   ((_type_ *) (nodeptr))
 
#define copyObject(obj)   copyObjectImpl(obj)
 
#define IS_OUTER_JOIN(jointype)
 
#define AGGSPLITOP_COMBINE   0x01 /* substitute combinefn for transfn */
 
#define AGGSPLITOP_SKIPFINAL   0x02 /* skip finalfn, return state as-is */
 
#define AGGSPLITOP_SERIALIZE   0x04 /* apply serialfn to output */
 
#define AGGSPLITOP_DESERIALIZE   0x08 /* apply deserialfn to input */
 
#define DO_AGGSPLIT_COMBINE(as)   (((as) & AGGSPLITOP_COMBINE) != 0)
 
#define DO_AGGSPLIT_SKIPFINAL(as)   (((as) & AGGSPLITOP_SKIPFINAL) != 0)
 
#define DO_AGGSPLIT_SERIALIZE(as)   (((as) & AGGSPLITOP_SERIALIZE) != 0)
 
#define DO_AGGSPLIT_DESERIALIZE(as)   (((as) & AGGSPLITOP_DESERIALIZE) != 0)
 

Typedefs

typedef enum NodeTag NodeTag
 
typedef struct Node Node
 
typedef double Selectivity
 
typedef double Cost
 
typedef enum CmdType CmdType
 
typedef enum JoinType JoinType
 
typedef enum AggStrategy AggStrategy
 
typedef enum AggSplit AggSplit
 
typedef enum SetOpCmd SetOpCmd
 
typedef enum SetOpStrategy SetOpStrategy
 
typedef enum OnConflictAction OnConflictAction
 
typedef enum LimitOption LimitOption
 

Enumerations

enum  NodeTag {
  T_Invalid = 0, T_IndexInfo, T_ExprContext, T_ProjectionInfo,
  T_JunkFilter, T_OnConflictSetState, T_ResultRelInfo, T_EState,
  T_TupleTableSlot, T_Plan, T_Result, T_ProjectSet,
  T_ModifyTable, T_Append, T_MergeAppend, T_RecursiveUnion,
  T_BitmapAnd, T_BitmapOr, T_Scan, T_SeqScan,
  T_SampleScan, T_IndexScan, T_IndexOnlyScan, T_BitmapIndexScan,
  T_BitmapHeapScan, T_TidScan, T_SubqueryScan, T_FunctionScan,
  T_ValuesScan, T_TableFuncScan, T_CteScan, T_NamedTuplestoreScan,
  T_WorkTableScan, T_ForeignScan, T_CustomScan, T_Join,
  T_NestLoop, T_MergeJoin, T_HashJoin, T_Material,
  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_NestLoopParam, T_PlanRowMark, T_PartitionPruneInfo, T_PartitionedRelPruneInfo,
  T_PartitionPruneStepOp, T_PartitionPruneStepCombine, T_PlanInvalItem, T_PlanState,
  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_SubqueryScanState, T_FunctionScanState, T_TableFuncScanState, T_ValuesScanState,
  T_CteScanState, T_NamedTuplestoreScanState, T_WorkTableScanState, T_ForeignScanState,
  T_CustomScanState, T_JoinState, T_NestLoopState, T_MergeJoinState,
  T_HashJoinState, T_MaterialState, 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_Alias, T_RangeVar,
  T_TableFunc, T_Expr, T_Var, T_Const,
  T_Param, T_Aggref, T_GroupingFunc, T_WindowFunc,
  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_NullTest, T_BooleanTest, T_CoerceToDomain, T_CoerceToDomainValue,
  T_SetToDefault, T_CurrentOfExpr, T_NextValueExpr, T_InferenceElem,
  T_TargetEntry, T_RangeTblRef, T_JoinExpr, T_FromExpr,
  T_OnConflictExpr, T_IntoClause, T_ExprState, T_AggrefExprState,
  T_WindowFuncExprState, T_SetExprState, T_SubPlanState, T_AlternativeSubPlanState,
  T_DomainConstraintState, T_PlannerInfo, T_PlannerGlobal, T_RelOptInfo,
  T_IndexOptInfo, T_ForeignKeyOptInfo, T_ParamPathInfo, T_Path,
  T_IndexPath, T_BitmapHeapPath, T_BitmapAndPath, T_BitmapOrPath,
  T_TidPath, T_SubqueryScanPath, T_ForeignPath, T_CustomPath,
  T_NestPath, T_MergePath, T_HashPath, T_AppendPath,
  T_MergeAppendPath, T_GroupResultPath, T_MaterialPath, T_UniquePath,
  T_GatherPath, T_GatherMergePath, T_ProjectionPath, T_ProjectSetPath,
  T_SortPath, T_IncrementalSortPath, T_GroupPath, T_UpperUniquePath,
  T_AggPath, T_GroupingSetsPath, T_MinMaxAggPath, T_WindowAggPath,
  T_SetOpPath, T_RecursiveUnionPath, T_LockRowsPath, T_ModifyTablePath,
  T_LimitPath, T_EquivalenceClass, T_EquivalenceMember, T_PathKey,
  T_PathTarget, T_RestrictInfo, T_IndexClause, T_PlaceHolderVar,
  T_SpecialJoinInfo, T_AppendRelInfo, T_PlaceHolderInfo, T_MinMaxAggInfo,
  T_PlannerParamItem, T_RollupData, T_GroupingSetData, T_StatisticExtInfo,
  T_MemoryContext, T_AllocSetContext, T_SlabContext, T_GenerationContext,
  T_Value, T_Integer, T_Float, T_String,
  T_BitString, T_Null, T_List, T_IntList,
  T_OidList, T_ExtensibleNode, T_RawStmt, T_Query,
  T_PlannedStmt, T_InsertStmt, T_DeleteStmt, T_UpdateStmt,
  T_SelectStmt, T_AlterTableStmt, T_AlterTableCmd, T_AlterDomainStmt,
  T_SetOperationStmt, T_GrantStmt, T_GrantRoleStmt, T_AlterDefaultPrivilegesStmt,
  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_DoStmt, 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_CreateTableAsStmt, T_CreateSeqStmt,
  T_AlterSeqStmt, T_VariableSetStmt, T_VariableShowStmt, T_DiscardStmt,
  T_CreateTrigStmt, T_CreatePLangStmt, 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_CreateOpClassStmt,
  T_CreateOpFamilyStmt, T_AlterOpFamilyStmt, T_PrepareStmt, T_ExecuteStmt,
  T_DeallocateStmt, T_DeclareCursorStmt, T_CreateTableSpaceStmt, T_DropTableSpaceStmt,
  T_AlterObjectDependsStmt, T_AlterObjectSchemaStmt, T_AlterOwnerStmt, T_AlterOperatorStmt,
  T_AlterTypeStmt, T_DropOwnedStmt, T_ReassignOwnedStmt, T_CompositeTypeStmt,
  T_CreateEnumStmt, T_CreateRangeStmt, T_AlterEnumStmt, T_AlterTSDictionaryStmt,
  T_AlterTSConfigurationStmt, T_CreateFdwStmt, T_AlterFdwStmt, T_CreateForeignServerStmt,
  T_AlterForeignServerStmt, T_CreateUserMappingStmt, T_AlterUserMappingStmt, T_DropUserMappingStmt,
  T_AlterTableSpaceOptionsStmt, T_AlterTableMoveAllStmt, T_SecLabelStmt, T_CreateForeignTableStmt,
  T_ImportForeignSchemaStmt, T_CreateExtensionStmt, T_AlterExtensionStmt, T_AlterExtensionContentsStmt,
  T_CreateEventTrigStmt, T_AlterEventTrigStmt, T_RefreshMatViewStmt, T_ReplicaIdentityStmt,
  T_AlterSystemStmt, T_CreatePolicyStmt, T_AlterPolicyStmt, T_CreateTransformStmt,
  T_CreateAmStmt, T_CreatePublicationStmt, T_AlterPublicationStmt, T_CreateSubscriptionStmt,
  T_AlterSubscriptionStmt, T_DropSubscriptionStmt, T_CreateStatsStmt, T_AlterCollationStmt,
  T_CallStmt, T_AlterStatsStmt, T_A_Expr, T_ColumnRef,
  T_ParamRef, T_A_Const, T_FuncCall, T_A_Star,
  T_A_Indices, T_A_Indirection, T_A_ArrayExpr, T_ResTarget,
  T_MultiAssignRef, T_TypeCast, T_CollateClause, T_SortBy,
  T_WindowDef, T_RangeSubselect, T_RangeFunction, T_RangeTableSample,
  T_RangeTableFunc, T_RangeTableFuncCol, T_TypeName, T_ColumnDef,
  T_IndexElem, T_Constraint, T_DefElem, T_RangeTblEntry,
  T_RangeTblFunction, T_TableSampleClause, T_WithCheckOption, T_SortGroupClause,
  T_GroupingSet, T_WindowClause, T_ObjectWithArgs, T_AccessPriv,
  T_CreateOpClassItem, T_TableLikeClause, T_FunctionParameter, T_LockingClause,
  T_RowMarkClause, T_XmlSerialize, T_WithClause, T_InferClause,
  T_OnConflictClause, T_CommonTableExpr, T_RoleSpec, T_TriggerTransition,
  T_PartitionElem, T_PartitionSpec, T_PartitionBoundSpec, T_PartitionRangeDatum,
  T_PartitionCmd, T_VacuumRelation, T_IdentifySystemCmd, T_BaseBackupCmd,
  T_CreateReplicationSlotCmd, T_DropReplicationSlotCmd, T_StartReplicationCmd, T_TimeLineHistoryCmd,
  T_SQLCmd, T_TriggerData, T_EventTriggerData, T_ReturnSetInfo,
  T_WindowObjectData, T_TIDBitmap, T_InlineCodeBlock, T_FdwRoutine,
  T_IndexAmRoutine, T_TableAmRoutine, T_TsmRoutine, T_ForeignKeyCacheInfo,
  T_CallContext, T_SupportRequestSimplify, T_SupportRequestSelectivity, T_SupportRequestCost,
  T_SupportRequestRows, T_SupportRequestIndexCondition
}
 
enum  CmdType {
  CMD_UNKNOWN, CMD_SELECT, CMD_UPDATE, CMD_INSERT,
  CMD_DELETE, CMD_UTILITY, CMD_NOTHING
}
 
enum  JoinType {
  JOIN_INNER, JOIN_LEFT, JOIN_FULL, JOIN_RIGHT,
  JOIN_SEMI, JOIN_ANTI, JOIN_UNIQUE_OUTER, JOIN_UNIQUE_INNER
}
 
enum  AggStrategy { AGG_PLAIN, AGG_SORTED, AGG_HASHED, AGG_MIXED }
 
enum  AggSplit { AGGSPLIT_SIMPLE = 0, AGGSPLIT_INITIAL_SERIAL = AGGSPLITOP_SKIPFINAL | AGGSPLITOP_SERIALIZE, AGGSPLIT_FINAL_DESERIAL = AGGSPLITOP_COMBINE | AGGSPLITOP_DESERIALIZE }
 
enum  SetOpCmd { SETOPCMD_INTERSECT, SETOPCMD_INTERSECT_ALL, SETOPCMD_EXCEPT, SETOPCMD_EXCEPT_ALL }
 
enum  SetOpStrategy { SETOP_SORTED, SETOP_HASHED }
 
enum  OnConflictAction { ONCONFLICT_NONE, ONCONFLICT_NOTHING, ONCONFLICT_UPDATE }
 
enum  LimitOption { LIMIT_OPTION_COUNT, LIMIT_OPTION_WITH_TIES, LIMIT_OPTION_DEFAULT }
 

Functions

void outNode (struct StringInfoData *str, const void *obj)
 
void outToken (struct StringInfoData *str, const char *s)
 
void outBitmapset (struct StringInfoData *str, const struct Bitmapset *bms)
 
void outDatum (struct StringInfoData *str, uintptr_t value, int typlen, bool typbyval)
 
char * nodeToString (const void *obj)
 
char * bmsToString (const struct Bitmapset *bms)
 
void * stringToNode (const char *str)
 
struct BitmapsetreadBitmapset (void)
 
uintptr_t readDatum (bool typbyval)
 
boolreadBoolCols (int numCols)
 
int * readIntCols (int numCols)
 
OidreadOidCols (int numCols)
 
int16readAttrNumberCols (int numCols)
 
void * copyObjectImpl (const void *obj)
 
bool equal (const void *a, const void *b)
 

Variables

PGDLLIMPORT NodenewNodeMacroHolder
 

Macro Definition Documentation

◆ AGGSPLITOP_COMBINE

#define AGGSPLITOP_COMBINE   0x01 /* substitute combinefn for transfn */

Definition at line 774 of file nodes.h.

◆ AGGSPLITOP_DESERIALIZE

#define AGGSPLITOP_DESERIALIZE   0x08 /* apply deserialfn to input */

Definition at line 777 of file nodes.h.

◆ AGGSPLITOP_SERIALIZE

#define AGGSPLITOP_SERIALIZE   0x04 /* apply serialfn to output */

Definition at line 776 of file nodes.h.

◆ AGGSPLITOP_SKIPFINAL

#define AGGSPLITOP_SKIPFINAL   0x02 /* skip finalfn, return state as-is */

Definition at line 775 of file nodes.h.

◆ castNode

#define castNode (   _type_,
  nodeptr 
)    ((_type_ *) (nodeptr))

Definition at line 598 of file nodes.h.

Referenced by AddRelationNewConstraints(), adjust_view_column_set(), ATExecAddColumn(), ATExecAddIdentity(), ATExecAlterConstraint(), ATExecSetIdentity(), ATExecSetOptions(), ATParseTransformCmd(), ATPostAlterTypeParse(), ATRewriteCatalogs(), check_new_partition_bound(), check_object_ownership(), check_sql_fn_statements(), commute_restrictinfo(), ComputePartitionAttrs(), conversion_error_callback(), CopyFrom(), create_bitmap_subplan(), create_customscan_plan(), create_list_bounds(), create_scan_plan(), CreateFunction(), does_not_exist_skipping(), eval_const_expressions_mutator(), exec_save_simple_expr(), ExecAgg(), ExecAlterObjectSchemaStmt(), ExecAlterOwnerStmt(), ExecAppend(), ExecBitmapHeapScan(), ExecCreateTableAs(), ExecCteScan(), ExecCustomScan(), ExecEvalGroupingFunc(), ExecForeignScan(), ExecFunctionScan(), ExecGather(), ExecGatherMerge(), ExecGroup(), ExecHashJoinImpl(), ExecIncrementalSort(), ExecIndexOnlyScan(), ExecIndexScan(), ExecInitAgg(), ExecInitCteScan(), ExecInitCustomScan(), ExecInitPartitionInfo(), ExecInitSubPlan(), ExecInitValuesScan(), ExecInterpExpr(), ExecLimit(), ExecLockRows(), ExecMaterial(), ExecMergeAppend(), ExecMergeJoin(), ExecModifyTable(), ExecNamedTuplestoreScan(), ExecNestLoop(), ExecProjectSet(), ExecRecursiveUnion(), ExecReScanHashJoin(), ExecResult(), ExecSampleScan(), ExecSeqScan(), ExecSetOp(), ExecSort(), ExecSubqueryScan(), ExecSupportsMarkRestore(), ExecTableFuncScan(), ExecTidScan(), ExecUnique(), ExecValuesScan(), ExecWindowAgg(), ExecWorkTableScan(), ExplainNode(), ExplainOneUtility(), ExplainQuery(), extract_or_clause(), fetch_function_defaults(), find_param_referent(), flatten_simple_union_all(), func_get_detail(), gather_merge_init(), gather_merge_setup(), generate_bitmap_or_paths(), generate_partition_qual(), generateSerialExtraStmts(), get_altertable_subcmdtypes(), get_object_address(), get_qual_for_list(), get_qual_for_range(), get_range_key_properties(), get_range_partbound_string(), get_rule_expr(), have_partkey_equi_join(), inline_cte(), is_simple_union_all(), isCurrentGroup(), JumbleExpr(), llvm_compile_expr(), make_one_partition_rbound(), make_row_comparison_op(), make_subplan(), match_clause_to_partition_key(), match_expr_to_partition_keys(), OpenTableList(), PerformCursorOpen(), pg_get_function_arg_default(), pg_rewrite_query(), plan_set_operations(), plperl_func_handler(), plpgsql_call_handler(), plpgsql_inline_handler(), plpython_call_handler(), pltcl_func_handler(), postgresBeginForeignInsert(), postgresExplainForeignScan(), preparePresortedCols(), print_function_arguments(), ProcedureCreate(), process_subquery_nestloop_params(), ProcessCopyOptions(), query_is_distinct_for(), rel_is_distinct_for(), RemoveObjects(), RenameConstraint(), RenameType(), RewriteQuery(), ScanQueryForLocks(), ScanQueryWalker(), set_rel_consider_parallel(), setRuleCheckAsUser_Query(), ShutdownSetExpr(), SlabAlloc(), SlabFree(), SlabGetChunkSpace(), SlabIsEmpty(), SlabRealloc(), SlabReset(), SlabStats(), standard_ProcessUtility(), subquery_is_pushdown_safe(), switchToPresortedPrefixMode(), TemporalSimplify(), test_predtest(), TidQualFromRestrictInfoList(), transformAExprBetween(), transformAExprOp(), transformAlterTableStmt(), transformCallStmt(), transformIndexConstraint(), transformMultiAssignRef(), transformPartitionBound(), transformPartitionSpec(), transformSetOperationStmt(), transformWindowDefinitions(), UtilityContainsQuery(), and validateInfiniteBounds().

◆ copyObject

#define copyObject (   obj)    copyObjectImpl(obj)

Definition at line 645 of file nodes.h.

Referenced by add_placeholders_to_base_rels(), add_security_quals(), add_sp_item_to_pathtarget(), add_to_flat_tlist(), add_vars_to_targetlist(), add_with_check_options(), addFkRecurseReferencing(), AddQual(), addRangeTableEntryForCTE(), addRangeTableEntryForJoin(), addRangeTableEntryForSubquery(), addRangeTableEntryForTableFunc(), addRangeTableEntryForValues(), adjust_appendrel_attrs_mutator(), adjustJoinTreeList(), AlterPolicy(), analyzeCTETargetList(), ApplyRetrieveRule(), assign_param_for_placeholdervar(), assign_param_for_var(), ATAddCheckConstraint(), ATExecAddColumn(), ATExecDetachPartition(), ATPrepAlterColumnType(), ATPrepCmd(), BeginCopy(), build_implied_join_equality(), build_minmax_path(), BuildCachedPlan(), CloneFkReferencing(), CompleteCachedPlan(), compute_semijoin_info(), convert_combining_aggrefs(), convert_EXISTS_sublink_to_join(), convert_testexpr_mutator(), CopyAndAddInvertedQual(), CopyCachedPlan(), create_ctas_internal(), create_scan_plan(), CreateCachedPlan(), CreatePolicy(), CreateTrigger(), DefineIndex(), DefineView(), eval_const_expressions_mutator(), EvaluateParams(), EventTriggerAlterTableStart(), EventTriggerCollectAlterDefPrivs(), EventTriggerCollectAlterOpFam(), EventTriggerCollectAlterTableSubcmd(), EventTriggerCollectAlterTSConfig(), EventTriggerCollectCreateOpClass(), EventTriggerCollectGrant(), EventTriggerCollectSimpleCommand(), ExecCreateTableAs(), ExecInitPartitionInfo(), ExecSerializePlan(), expand_indexqual_rowcompare(), expand_single_inheritance_child(), ExpandIndirectionStar(), ExpandRowReference(), expandRTE(), ExplainOneUtility(), ExplainQuery(), expression_tree_mutator(), extract_lateral_references(), FetchPreparedStatementTargetList(), find_placeholder_info(), find_var_for_subquery_tle(), fireRules(), fix_indexqual_operand(), fix_param_node(), fix_scan_expr_mutator(), fix_upper_expr_mutator(), flatten_join_alias_vars_mutator(), flatten_simple_union_all(), generate_partition_qual(), generate_setop_grouplist(), get_eclass_for_sort_expr(), get_qual_for_hash(), get_qual_for_list(), get_range_key_properties(), get_range_nulltest(), GetCachedExpression(), grouping_planner(), index_register(), inheritance_planner(), inline_cte_walker(), inline_function(), inline_set_returning_function(), make_subplan(), PerformCursorOpen(), pg_parse_query(), pg_plan_query(), pg_rewrite_query(), postgresBeginForeignInsert(), prepare_sort_from_pathkeys(), PrepareQuery(), process_implied_equality(), process_subquery_nestloop_params(), pull_up_simple_subquery(), pull_up_simple_union_all(), pull_up_simple_values(), pullup_replace_vars_callback(), query_tree_mutator(), range_table_mutator(), RebuildConstraintComment(), refresh_matview_datafill(), RelationBuildPartitionKey(), RelationBuildRowSecurity(), RelationGetFKeyList(), RelationGetIndexExpressions(), RelationGetIndexPredicate(), replace_domain_constraint_value(), replace_nestloop_param_placeholdervar(), replace_nestloop_param_var(), replace_outer_agg(), replace_outer_grouping(), ReplaceVarsFromTargetList_callback(), RevalidateCachedQuery(), rewriteRuleAction(), rewriteTargetView(), set_baserel_partition_key_exprs(), set_plan_refs(), set_subquery_pathlist(), SPI_cursor_open_internal(), SS_process_ctes(), subquery_planner(), substitute_actual_srf_parameters_mutator(), test_rls_hooks_permissive(), test_rls_hooks_restrictive(), transformAExprBetween(), transformAExprIn(), transformAlterTableStmt(), transformCreateStmt(), transformCreateTableAsStmt(), transformDistinctClause(), transformDistinctOnClause(), transformGroupClauseExpr(), transformIndexConstraint(), transformIndexStmt(), transformJoinUsingClause(), transformPartitionBound(), transformPartitionSpec(), transformRuleStmt(), transformWindowDefinitions(), UpdateRangeTableOfViewParse(), and verify_dictoptions().

◆ DO_AGGSPLIT_COMBINE

#define DO_AGGSPLIT_COMBINE (   as)    (((as) & AGGSPLITOP_COMBINE) != 0)

◆ DO_AGGSPLIT_DESERIALIZE

#define DO_AGGSPLIT_DESERIALIZE (   as)    (((as) & AGGSPLITOP_DESERIALIZE) != 0)

Definition at line 794 of file nodes.h.

Referenced by ExecInitAgg(), and get_agg_clause_costs_walker().

◆ DO_AGGSPLIT_SERIALIZE

#define DO_AGGSPLIT_SERIALIZE (   as)    (((as) & AGGSPLITOP_SERIALIZE) != 0)

Definition at line 793 of file nodes.h.

Referenced by ExecInitAgg(), get_agg_clause_costs_walker(), and mark_partial_aggref().

◆ DO_AGGSPLIT_SKIPFINAL

#define DO_AGGSPLIT_SKIPFINAL (   as)    (((as) & AGGSPLITOP_SKIPFINAL) != 0)

◆ IS_OUTER_JOIN

◆ IsA

#define IsA (   nodeptr,
  _type_ 
)    (nodeTag(nodeptr) == T_##_type_)

Definition at line 580 of file nodes.h.

Referenced by _int_matchsel(), _outList(), _SPI_execute_plan(), accumulate_append_subpath(), acquireLocksOnSubLinks(), AcquireRewriteLocks(), add_base_rels_to_query(), add_foreign_final_paths(), add_path(), add_vars_to_targetlist(), AddQual(), addRangeTableEntryForCTE(), AddRelationNewConstraints(), adjust_appendrel_attrs(), adjust_appendrel_attrs_mutator(), adjust_inherited_tlist(), adjust_view_column_set(), adjustJoinTreeList(), AggCheckCallContext(), AggGetAggref(), AggGetTempMemoryContext(), AggRegisterCallback(), AggStateIsShared(), AlterDomainAddConstraint(), AlterDomainDefault(), AlterTableGetLockLevel(), analyzeCTE(), appendConditions(), apply_child_basequals(), apply_const_relabel(), apply_pathtarget_labeling_to_tlist(), apply_projection_to_path(), array_unnest_support(), arraycontsel(), assign_param_for_placeholdervar(), assign_param_for_var(), assign_query_collations_walker(), ATColumnChangeRequiresRewrite(), ATExecAddConstraint(), ATExecAddIndex(), ATExecAddIndexConstraint(), ATExecSetStatistics(), ATExecSetStorage(), ATPostAlterTypeParse(), BeginCopy(), bernoulli_samplescangetsamplesize(), bitmap_subplan_mark_shared(), BitmapHeapNext(), brin_page_items(), btcostestimate(), build_index_paths(), build_joinrel_tlist(), build_physical_tlist(), build_remote_returning(), build_subplan(), build_tlist_index(), build_tlist_index_other_vars(), buildMergedJoinVar(), canonicalize_ec_expression(), canonicalize_qual(), ChangeVarNodes(), ChangeVarNodes_walker(), check_agg_arguments_walker(), check_agglevels_and_constraints(), check_constant_qual(), check_functional_grouping(), check_nested_generated_walker(), check_parameter_resolution_walker(), check_sql_fn_statements(), check_ungrouped_columns_walker(), checkExprHasSubLink_walker(), checkWellFormedRecursion(), checkWellFormedRecursionWalker(), ChooseExtendedStatisticNameAddition(), ChoosePortalStrategy(), chooseScalarFunctionAlias(), clause_is_strict_for(), clause_selectivity(), clauselist_selectivity_simple(), coerce_record_to_complex(), coerce_to_target_type(), coerce_type(), CommandIsReadOnly(), compute_semijoin_info(), ComputeIndexAttrs(), ComputePartitionAttrs(), connectby_text(), connectby_text_serial(), contain_agg_clause_walker(), contain_aggs_of_level_walker(), contain_context_dependent_node_walker(), contain_dml_walker(), contain_mutable_functions_walker(), contain_non_const_walker(), contain_nonstrict_functions_walker(), contain_outer_selfref(), contain_outer_selfref_walker(), contain_subplans_walker(), contain_var_clause_walker(), contain_vars_of_level_walker(), contain_volatile_functions_not_nextval_walker(), contain_volatile_functions_walker(), contain_windowfuncs_walker(), contains_multiexpr_param(), contains_target_param(), conversion_error_callback(), convert_combining_aggrefs(), convert_EXISTS_to_ANY(), convert_testexpr_mutator(), cost_bitmap_heap_scan(), cost_bitmap_or_node(), cost_bitmap_tree_node(), cost_index(), cost_qual_eval_walker(), cost_tidscan(), count_rowexpr_columns(), create_bitmap_subplan(), create_gating_plan(), create_hashjoin_plan(), create_lateral_join_info(), create_plan(), create_plan_recurse(), createdb(), CreateStatistics(), crosstab(), crosstab_hash(), currtid_for_view(), deconstruct_jointree(), deconstruct_recurse(), defGetStringList(), DefineDomain(), DefineView(), deflist_to_tuplestore(), deparseSortGroupClause(), deparseSubscriptingRef(), dependency_is_compatible_clause(), determineRecursiveColTypes(), each_worker(), each_worker_jsonb(), ec_member_matches_ctid(), elements_worker(), elements_worker_jsonb(), eqsel_internal(), errdetail_execute(), estimate_array_length(), estimate_multivariate_ndistinct(), eval_const_expressions_mutator(), evaluate_function(), EventTriggerCollectAlterTableSubcmd(), examine_clause_args(), examine_simple_variable(), examine_variable(), exec_check_rw_parameter(), exec_init_tuple_store(), exec_replication_command(), exec_save_simple_expr(), exec_simple_check_plan(), exec_simple_query(), exec_stmt_call(), ExecBuildProjectionInfo(), ExecCheckPlanOutput(), ExecCreateTableAs(), execCurrentOf(), ExecDropSingleTupleTableSlot(), ExecIndexBuildScanKeys(), ExecInitCheck(), ExecInitExprRec(), ExecInitFunc(), ExecInitFunctionResultSet(), ExecInitMergeJoin(), ExecInitNode(), ExecInitProjectSet(), ExecInitPruningContext(), ExecInitQual(), ExecInitSubPlan(), ExecInitTableFunctionResult(), ExecNestLoop(), ExecProjectSRF(), ExecScanReScan(), ExecSetTupleBound(), ExecSupportsMarkRestore(), execute_sql_string(), ExecuteCallStmt(), expand_function_arguments(), expandRecordVariable(), ExpandRowReference(), expandRTE(), ExplainNode(), ExplainOneUtility(), ExplainPrintPlan(), ExplainTargetRel(), exprCollation(), expression_returns_set_rows(), expression_returns_set_walker(), exprIsLengthCoercion(), exprIsNullConstant(), exprSetCollation(), exprType(), exprTypmod(), extract_lateral_references(), extract_not_arg(), extract_query_dependencies_walker(), extract_strong_not_arg(), fetch_more_data(), FetchStatementTargetList(), FigureColnameInternal(), final_cost_hashjoin(), final_cost_mergejoin(), finalize_agg_primnode(), finalize_grouping_exprs_walker(), finalize_primnode(), find_cols_walker(), find_dependent_phvs_walker(), find_duplicate_ors(), find_ec_member_for_tle(), find_em_expr_for_input_target(), find_expr_references_walker(), find_forced_null_var(), find_forced_null_vars(), find_indexpath_quals(), find_jointree_node_for_rel(), find_minmax_aggs_walker(), find_nonnullable_rels_walker(), find_nonnullable_vars_walker(), find_param_referent(), find_placeholders_in_expr(), find_placeholders_in_jointree(), find_placeholders_recurse(), find_single_rel_for_clauses(), find_var_for_subquery_tle(), find_window_functions_walker(), findTargetlistEntrySQL92(), fireRIRonSubLink(), fix_expr_common(), fix_indexqual_clause(), fix_indexqual_operand(), fix_join_expr_mutator(), fix_opfuncids_walker(), fix_scan_expr_mutator(), fix_scan_expr_walker(), fix_upper_expr_mutator(), flatCopyTargetEntry(), flatten_grouping_sets(), flatten_join_alias_vars_mutator(), flatten_rtes_walker(), flatten_set_variable_args(), flatten_simple_union_all(), fmgr_security_definer(), fmgr_sql(), foreign_expr_walker(), foreign_grouping_ok(), func_get_detail(), gen_partprune_steps_internal(), generate_base_implied_equalities_const(), generate_join_implied_equalities_normal(), generate_partitionwise_join_paths(), generate_series_int4_support(), generate_series_int8_support(), generate_setop_tlist(), generic_restriction_selectivity(), genericcostestimate(), get_agg_clause_costs_walker(), get_agg_combine_expr(), get_agg_expr(), get_assignment_input(), get_call_expr_arg_stable(), get_call_expr_argtype(), get_cast_hashentry(), get_coercion_expr(), get_expr_result_type(), get_fn_expr_variadic(), get_fn_opclass_options(), get_from_clause(), get_from_clause_item(), get_func_expr(), get_indexpath_pages(), get_last_attnums_walker(), get_name_for_var_field(), get_parameter(), get_partkey_exec_paramids(), get_qual_for_range(), get_relids_in_jointree(), get_result_relid(), get_rule_expr(), get_rule_expr_toplevel(), get_rule_sortgroupclause(), get_select_query_def(), get_setop_query(), get_singleton_append_subpath(), get_special_variable(), get_sublink_expr(), get_target_list(), get_update_query_targetlist_def(), get_utility_query_def(), get_variable(), get_variable_numdistinct(), get_windowfunc_expr(), GetExistingLocalJoinPath(), GetFdwRoutine(), GetIndexAmRoutine(), getInsertSelectQuery(), GetTableAmRoutine(), GetTsmRoutine(), gincost_opexpr(), gincost_scalararrayopexpr(), gincostestimate(), has_dangerous_join_using(), has_fn_opclass_options(), has_indexed_join_quals(), hide_coercion_node(), identify_current_nestloop_params(), identify_join_columns(), ImportForeignSchema(), IncrementVarSublevelsUp_walker(), index_other_operands_eval_cost(), infer_arbiter_indexes(), infer_collation_opclass_match(), init_execution_state(), init_MultiFuncCall(), init_returning_filter(), inline_cte_walker(), inline_function(), inline_set_returning_function(), internal_get_result_type(), interval_support(), is_andclause(), is_dummy_rel(), is_funcclause(), is_notclause(), is_opclause(), is_orclause(), is_safe_append_member(), is_simple_subquery(), is_simple_union_all(), is_simple_union_all_recurse(), is_strict_saop(), isAssignmentIndirectionExpr(), IsCurrentOfClause(), isQueryUsingTempRelation_walker(), isSimpleNode(), IsTidEqualAnyClause(), IsTidEqualClause(), IsTransactionExitStmt(), IsTransactionStmtList(), jointree_contains_lateral_outer_refs(), JumbleQuery(), label_sort_with_costsize(), like_regex_support(), limit_needed(), list_copy_deep(), list_nth(), list_nth_int(), list_nth_oid(), locate_agg_of_level_walker(), locate_var_of_level_walker(), locate_windowfunc_walker(), LockViewRecurse_walker(), make_ands_implicit(), make_fn_arguments(), make_partial_grouping_target(), make_partition_op_expr(), make_rel_from_joinlist(), make_subplan(), makeDependencyGraphWalker(), map_variable_attnos_mutator(), markQueryForLocking(), markRTEForSelectPriv(), markTargetListOrigin(), markVarForSelectPriv(), match_boolean_index_clause(), match_boolean_partition_clause(), match_clause_to_indexcol(), match_clause_to_partition_key(), match_eclasses_to_foreign_key_col(), match_expr_to_partition_keys(), match_foreign_keys_to_quals(), match_index_to_operand(), match_network_subset(), match_pattern_prefix(), max_parallel_hazard_walker(), mcv_get_match_bitmap(), MJExamineQuals(), MultiExecBitmapAnd(), MultiExecBitmapOr(), NameListToString(), network_subset_support(), networksel(), nulltestsel(), numeric_support(), OffsetVarNodes(), OffsetVarNodes_walker(), operator_precedence_group(), operator_predicate_proof(), order_qual_clauses(), outNode(), parse_output_parameters(), parseCheckAggregates(), ParseComplexProjection(), ParseFuncOrColumn(), partkey_datum_from_expr(), patternsel_common(), pg_available_extension_versions(), pg_available_extensions(), pg_cursor(), pg_decode_startup(), pg_event_trigger_ddl_commands(), pg_event_trigger_dropped_objects(), pg_extension_update_paths(), pg_get_partkeydef_worker(), pg_get_replication_slots(), pg_get_shmem_allocations(), pg_hba_file_rules(), pg_logdir_ls_internal(), pg_logical_slot_get_changes_guts(), pg_ls_dir(), pg_ls_dir_files(), pg_prepared_statement(), pg_show_replication_origin_status(), pg_stat_get_activity(), pg_stat_get_progress_info(), pg_stat_get_slru(), pg_stat_get_subscription(), pg_stat_get_wal_senders(), pg_stat_statements_internal(), pg_stop_backup_v2(), pg_tablespace_databases(), pg_timezone_names(), pgrowlocks(), pgss_ProcessUtility(), plan_set_operations(), plan_union_children(), plperl_func_handler(), plpgsql_call_handler(), plpgsql_exec_function(), plpython_call_handler(), pltcl_func_handler(), PLy_exec_function(), populate_recordset_worker(), PortalRunMulti(), PortalRunUtility(), postgresGetForeignPlan(), postgresPlanDirectModify(), predicate_classify(), predicate_implied_by_recurse(), predicate_implied_by_simple_clause(), predicate_refuted_by_recurse(), predicate_refuted_by_simple_clause(), preprocess_limit(), preprocess_minmax_aggregates(), preprocess_qual_conditions(), preprocess_targetlist(), prepTuplestoreResult(), print_expr(), process_implied_equality(), process_matched_tle(), process_sublinks_mutator(), process_subquery_nestloop_params(), ProcessCopyOptions(), processIndirection(), ProcessUtility(), ProcessUtilitySlow(), pull_exec_paramids_walker(), pull_up_constant_function(), pull_up_simple_subquery(), pull_up_sublinks(), pull_up_sublinks_jointree_recurse(), pull_up_sublinks_qual_recurse(), pull_up_subqueries(), pull_up_subqueries_recurse(), pull_up_union_leaf_queries(), pull_var_clause_walker(), pull_varattnos_walker(), pull_varnos_walker(), pull_vars_walker(), pullup_replace_vars_callback(), pullup_replace_vars_subquery(), qual_is_pushdown_safe(), query_contains_extern_params_walker(), query_or_expression_tree_mutator(), query_or_expression_tree_walker(), query_planner(), query_tree_mutator(), query_tree_walker(), rangesel(), rangeTableEntry_used_walker(), RangeVarCallbackForAlterRelation(), reconsider_full_join_clause(), recurse_push_qual(), recurse_pushdown_safe(), recurse_set_operations(), reduce_outer_joins_pass1(), reduce_outer_joins_pass2(), rel_is_distinct_for(), relabel_to_typmod(), relation_excluded_by_constraints(), RelationBuildPartitionDesc(), remove_rel_from_joinlist(), remove_useless_groupby_columns(), remove_useless_result_rtes(), remove_useless_results_recurse(), reorder_function_arguments(), reparameterize_path(), replace_correlation_vars_mutator(), replace_domain_constraint_value(), replace_nestloop_params_mutator(), replace_rte_variables(), replace_rte_variables_mutator(), replace_vars_in_jointree(), resolve_column_ref(), resolve_special_varno(), restriction_is_constant_false(), RewriteQuery(), rewriteTargetListIU(), rewriteTargetView(), rewriteValuesRTE(), scalararraysel(), scalararraysel_containment(), scalarineqsel(), scalarineqsel_wrapper(), ScanQueryWalker(), search_indexed_tlist_for_non_var(), searchForDefault(), select_mergejoin_clauses(), serialize_deflist(), set_append_rel_size(), set_cheapest(), set_deparse_plan(), set_dummy_tlist_references(), set_function_pathlist(), set_join_references(), set_param_references(), set_pathtarget_cost_width(), set_rel_width(), set_subquery_size_estimates(), set_using_names(), setRuleCheckAsUser_walker(), show_all_file_settings(), show_plan_tlist(), show_scan_qual(), simplify_and_arguments(), simplify_boolean_equality(), simplify_EXISTS_query(), simplify_or_arguments(), split_pathtarget_walker(), sql_fn_post_column_ref(), statext_is_compatible_clause(), statext_is_compatible_clause_internal(), strip_array_coercion(), strip_implicit_coercions(), substitute_actual_parameters_mutator(), substitute_actual_srf_parameters_mutator(), substitute_phv_relids_walker(), system_rows_samplescangetsamplesize(), system_samplescangetsamplesize(), system_time_samplescangetsamplesize(), TemporalSimplify(), test_support_func(), testexpr_is_hashable(), TidExprListCreate(), time_support(), timestamp_support(), tlist_matches_tupdesc(), tlist_member_ignore_relabel(), tlist_member_match_var(), transformAExprDistinct(), transformAExprIn(), transformAExprOp(), transformAlterTableStmt(), transformArrayExpr(), transformAssignedExpr(), transformAssignmentIndirection(), transformColumnRef(), transformConstraintAttrs(), transformCreateStmt(), transformCurrentOfExpr(), transformDeclareCursorStmt(), transformExpressionList(), transformFromClauseItem(), transformGroupClause(), transformGroupingSet(), transformIndirection(), transformInsertRow(), transformInsertStmt(), transformLimitClause(), transformMultiAssignRef(), transformOptionalSelectInto(), transformPartitionBoundValue(), transformPartitionRangeBounds(), transformRangeFunction(), transformRangeSubselect(), transformRangeTableFunc(), transformSetOperationStmt(), transformSetOperationTree(), transformSubLink(), transformTargetEntry(), transformTargetList(), transformTypeCast(), transformWithClause(), transformXmlExpr(), translate_sub_tlist(), trivial_subqueryscan(), tsmatchsel(), typenameTypeMod(), typeStringToTypeName(), unknown_attribute(), use_physical_tlist(), varbit_support(), varchar_support(), view_col_is_auto_updatable(), view_query_is_auto_updatable(), xml_is_well_formed_content(), and xpath_table().

◆ makeNode

#define makeNode (   _type_)    ((_type_ *) newNode(sizeof(_type_),T_##_type_))

Definition at line 577 of file nodes.h.

Referenced by _copyA_ArrayExpr(), _copyA_Indirection(), _copyAccessPriv(), _copyAConst(), _copyAExpr(), _copyAgg(), _copyAggref(), _copyAIndices(), _copyAlias(), _copyAlterCollationStmt(), _copyAlterDatabaseSetStmt(), _copyAlterDatabaseStmt(), _copyAlterDefaultPrivilegesStmt(), _copyAlterDomainStmt(), _copyAlterEnumStmt(), _copyAlterEventTrigStmt(), _copyAlterExtensionContentsStmt(), _copyAlterExtensionStmt(), _copyAlterFdwStmt(), _copyAlterForeignServerStmt(), _copyAlterFunctionStmt(), _copyAlternativeSubPlan(), _copyAlterObjectDependsStmt(), _copyAlterObjectSchemaStmt(), _copyAlterOperatorStmt(), _copyAlterOpFamilyStmt(), _copyAlterOwnerStmt(), _copyAlterPolicyStmt(), _copyAlterPublicationStmt(), _copyAlterRoleSetStmt(), _copyAlterRoleStmt(), _copyAlterSeqStmt(), _copyAlterStatsStmt(), _copyAlterSubscriptionStmt(), _copyAlterSystemStmt(), _copyAlterTableCmd(), _copyAlterTableMoveAllStmt(), _copyAlterTableSpaceOptionsStmt(), _copyAlterTableStmt(), _copyAlterTSConfigurationStmt(), _copyAlterTSDictionaryStmt(), _copyAlterTypeStmt(), _copyAlterUserMappingStmt(), _copyAppend(), _copyAppendRelInfo(), _copyArrayCoerceExpr(), _copyArrayExpr(), _copyAStar(), _copyBitmapAnd(), _copyBitmapHeapScan(), _copyBitmapIndexScan(), _copyBitmapOr(), _copyBooleanTest(), _copyBoolExpr(), _copyCallStmt(), _copyCaseExpr(), _copyCaseTestExpr(), _copyCaseWhen(), _copyClosePortalStmt(), _copyClusterStmt(), _copyCoalesceExpr(), _copyCoerceToDomain(), _copyCoerceToDomainValue(), _copyCoerceViaIO(), _copyCollateClause(), _copyCollateExpr(), _copyColumnDef(), _copyColumnRef(), _copyCommentStmt(), _copyCommonTableExpr(), _copyCompositeTypeStmt(), _copyConst(), _copyConstraint(), _copyConstraintsSetStmt(), _copyConvertRowtypeExpr(), _copyCopyStmt(), _copyCreateAmStmt(), _copyCreateCastStmt(), _copyCreateConversionStmt(), _copyCreatedbStmt(), _copyCreateDomainStmt(), _copyCreateEnumStmt(), _copyCreateEventTrigStmt(), _copyCreateExtensionStmt(), _copyCreateFdwStmt(), _copyCreateForeignServerStmt(), _copyCreateForeignTableStmt(), _copyCreateFunctionStmt(), _copyCreateOpClassItem(), _copyCreateOpClassStmt(), _copyCreateOpFamilyStmt(), _copyCreatePLangStmt(), _copyCreatePolicyStmt(), _copyCreatePublicationStmt(), _copyCreateRangeStmt(), _copyCreateRoleStmt(), _copyCreateSchemaStmt(), _copyCreateSeqStmt(), _copyCreateStatsStmt(), _copyCreateStmt(), _copyCreateSubscriptionStmt(), _copyCreateTableAsStmt(), _copyCreateTableSpaceStmt(), _copyCreateTransformStmt(), _copyCreateTrigStmt(), _copyCreateUserMappingStmt(), _copyCteScan(), _copyCurrentOfExpr(), _copyCustomScan(), _copyDeallocateStmt(), _copyDeclareCursorStmt(), _copyDefElem(), _copyDefineStmt(), _copyDeleteStmt(), _copyDiscardStmt(), _copyDistinctExpr(), _copyDoStmt(), _copyDropdbStmt(), _copyDropOwnedStmt(), _copyDropRoleStmt(), _copyDropStmt(), _copyDropSubscriptionStmt(), _copyDropTableSpaceStmt(), _copyDropUserMappingStmt(), _copyExecuteStmt(), _copyExplainStmt(), _copyFetchStmt(), _copyFieldSelect(), _copyFieldStore(), _copyForeignKeyCacheInfo(), _copyForeignScan(), _copyFromExpr(), _copyFuncCall(), _copyFuncExpr(), _copyFunctionParameter(), _copyFunctionScan(), _copyGather(), _copyGatherMerge(), _copyGrantRoleStmt(), _copyGrantStmt(), _copyGroup(), _copyGroupingFunc(), _copyGroupingSet(), _copyHash(), _copyHashJoin(), _copyImportForeignSchemaStmt(), _copyIncrementalSort(), _copyIndexElem(), _copyIndexOnlyScan(), _copyIndexScan(), _copyIndexStmt(), _copyInferClause(), _copyInferenceElem(), _copyInsertStmt(), _copyIntoClause(), _copyJoin(), _copyJoinExpr(), _copyLimit(), _copyListenStmt(), _copyLoadStmt(), _copyLockingClause(), _copyLockRows(), _copyLockStmt(), _copyMaterial(), _copyMergeAppend(), _copyMergeJoin(), _copyMinMaxExpr(), _copyModifyTable(), _copyMultiAssignRef(), _copyNamedArgExpr(), _copyNamedTuplestoreScan(), _copyNestLoop(), _copyNestLoopParam(), _copyNextValueExpr(), _copyNotifyStmt(), _copyNullIfExpr(), _copyNullTest(), _copyObjectWithArgs(), _copyOnConflictClause(), _copyOnConflictExpr(), _copyOpExpr(), _copyParam(), _copyParamRef(), _copyPartitionBoundSpec(), _copyPartitionCmd(), _copyPartitionedRelPruneInfo(), _copyPartitionElem(), _copyPartitionPruneInfo(), _copyPartitionPruneStepCombine(), _copyPartitionPruneStepOp(), _copyPartitionRangeDatum(), _copyPartitionSpec(), _copyPathKey(), _copyPlaceHolderInfo(), _copyPlaceHolderVar(), _copyPlan(), _copyPlanInvalItem(), _copyPlannedStmt(), _copyPlanRowMark(), _copyPrepareStmt(), _copyProjectSet(), _copyQuery(), _copyRangeFunction(), _copyRangeSubselect(), _copyRangeTableFunc(), _copyRangeTableFuncCol(), _copyRangeTableSample(), _copyRangeTblEntry(), _copyRangeTblFunction(), _copyRangeTblRef(), _copyRangeVar(), _copyRawStmt(), _copyReassignOwnedStmt(), _copyRecursiveUnion(), _copyRefreshMatViewStmt(), _copyReindexStmt(), _copyRelabelType(), _copyRenameStmt(), _copyReplicaIdentityStmt(), _copyResTarget(), _copyRestrictInfo(), _copyResult(), _copyRoleSpec(), _copyRowCompareExpr(), _copyRowExpr(), _copyRowMarkClause(), _copyRuleStmt(), _copySampleScan(), _copyScalarArrayOpExpr(), _copyScan(), _copySecLabelStmt(), _copySelectStmt(), _copySeqScan(), _copySetOp(), _copySetOperationStmt(), _copySetToDefault(), _copySort(), _copySortBy(), _copySortGroupClause(), _copySpecialJoinInfo(), _copySQLValueFunction(), _copySubLink(), _copySubPlan(), _copySubqueryScan(), _copySubscriptingRef(), _copyTableFunc(), _copyTableFuncScan(), _copyTableLikeClause(), _copyTableSampleClause(), _copyTargetEntry(), _copyTidScan(), _copyTransactionStmt(), _copyTriggerTransition(), _copyTruncateStmt(), _copyTypeCast(), _copyTypeName(), _copyUnique(), _copyUnlistenStmt(), _copyUpdateStmt(), _copyVacuumRelation(), _copyVacuumStmt(), _copyValue(), _copyValuesScan(), _copyVar(), _copyVariableSetStmt(), _copyVariableShowStmt(), _copyViewStmt(), _copyWindowAgg(), _copyWindowClause(), _copyWindowDef(), _copyWindowFunc(), _copyWithCheckOption(), _copyWithClause(), _copyWorkTableScan(), _copyXmlExpr(), _copyXmlSerialize(), add_eq_member(), add_with_check_options(), AddInvertedQual(), addNSItemToQuery(), addRangeTableEntry(), addRangeTableEntryForCTE(), addRangeTableEntryForENR(), addRangeTableEntryForFunction(), addRangeTableEntryForJoin(), addRangeTableEntryForRelation(), addRangeTableEntryForSubquery(), addRangeTableEntryForTableFunc(), addRangeTableEntryForValues(), addTargetToGroupList(), addTargetToSortList(), adjust_appendrel_attrs_mutator(), AlterTableMoveAll(), apply_const_relabel(), apply_handle_tuple_routing(), applyLockingClause(), assign_param_for_placeholdervar(), assign_param_for_var(), ATExecAddColumn(), ATExecDetachPartition(), ATExecValidateConstraint(), ATParseTransformCmd(), ATPostAlterTypeCleanup(), ATPostAlterTypeParse(), ATPrepSetNotNull(), blhandler(), brinhandler(), bthandler(), build_child_join_rel(), build_child_join_sjinfo(), build_coercion_expression(), build_column_default(), build_join_rel(), build_minmax_path(), build_simple_rel(), build_subplan(), buildMergedJoinVar(), CatalogOpenIndexes(), check_sql_fn_retval(), checkInsertTargets(), CloneFkReferenced(), CloneFkReferencing(), CloneRowTriggersToPartition(), coerce_record_to_complex(), coerce_to_domain(), coerce_to_target_type(), coerce_type(), commute_restrictinfo(), consider_groupingsets_paths(), convert_ANY_sublink_to_join(), convert_combining_aggrefs(), convert_EXISTS_sublink_to_join(), copy_pathtarget(), CopyFrom(), copyObjectImpl(), create_agg_path(), create_append_path(), create_append_plan(), create_bitmap_and_path(), create_bitmap_heap_path(), create_bitmap_or_path(), create_ctas_internal(), create_ctescan_path(), create_empty_pathtarget(), create_estate_for_relation(), create_foreign_join_path(), create_foreign_upper_path(), create_foreignscan_path(), create_functionscan_path(), create_gather_merge_path(), create_gather_merge_plan(), create_gather_path(), create_group_path(), create_group_result_path(), create_groupingsets_path(), create_hashjoin_path(), create_incremental_sort_path(), create_index_path(), create_limit_path(), create_lockrows_path(), create_material_path(), create_merge_append_path(), create_merge_append_plan(), create_mergejoin_path(), create_minmaxagg_path(), create_modifytable_path(), create_namedtuplestorescan_path(), create_nestloop_path(), create_projection_path(), create_recursiveunion_path(), create_resultscan_path(), create_samplescan_path(), create_seqscan_path(), create_set_projection_path(), create_setop_path(), create_sort_path(), create_subqueryscan_path(), create_tablefuncscan_path(), create_tidscan_path(), create_toast_table(), create_unique_path(), create_unique_plan(), create_upper_unique_path(), create_valuesscan_path(), create_windowagg_path(), create_worktablescan_path(), CreateExecutorState(), CreateExprContextInternal(), CreateExtensionInternal(), CreateFKCheckTrigger(), createForeignKeyActionTriggers(), CreateRole(), CreateSchemaCommand(), CreateStandaloneExprContext(), DefineCompositeType(), DefineSequence(), DefineView(), DefineVirtualRelation(), deparse_context_for(), dihandler(), DoCopy(), domainAddConstraint(), eval_const_expressions_mutator(), evaluate_function(), ExecBuildAggTrans(), ExecBuildGroupingEqual(), ExecBuildProjectionInfo(), ExecGetTriggerResultRel(), ExecInitAgg(), ExecInitAlternativeSubPlan(), ExecInitAppend(), ExecInitBitmapAnd(), ExecInitBitmapHeapScan(), ExecInitBitmapIndexScan(), ExecInitBitmapOr(), ExecInitCteScan(), ExecInitExpr(), ExecInitExprRec(), ExecInitExprWithParams(), ExecInitForeignScan(), ExecInitFunctionResultSet(), ExecInitFunctionScan(), ExecInitGather(), ExecInitGatherMerge(), ExecInitGroup(), ExecInitHash(), ExecInitHashJoin(), ExecInitIncrementalSort(), ExecInitIndexOnlyScan(), ExecInitIndexScan(), ExecInitJunkFilter(), ExecInitJunkFilterConversion(), ExecInitLimit(), ExecInitLockRows(), ExecInitMaterial(), ExecInitMergeAppend(), ExecInitMergeJoin(), ExecInitModifyTable(), ExecInitNamedTuplestoreScan(), ExecInitNestLoop(), ExecInitPartitionInfo(), ExecInitProjectSet(), ExecInitQual(), ExecInitRecursiveUnion(), ExecInitResult(), ExecInitSampleScan(), ExecInitSeqScan(), ExecInitSetOp(), ExecInitSort(), ExecInitSubPlan(), ExecInitSubqueryScan(), ExecInitTableFuncScan(), ExecInitTableFunctionResult(), ExecInitTidScan(), ExecInitUnique(), ExecInitValuesScan(), ExecInitWindowAgg(), ExecInitWorkTableScan(), ExecSerializePlan(), ExecuteCallStmt(), ExecuteDoStmt(), expand_indexqual_rowcompare(), expand_single_inheritance_child(), ExpandRowReference(), fetch_upper_rel(), file_fdw_handler(), find_minmax_aggs_walker(), find_placeholder_info(), fixed_paramref_hook(), flatCopyTargetEntry(), flatten_join_alias_vars_mutator(), flatten_simple_union_all(), gen_prune_step_combine(), gen_prune_step_op(), generate_new_exec_param(), generateClonedExtStatsStmt(), generateClonedIndexStmt(), generateSerialExtraStmts(), get_appendrel_parampathinfo(), get_baserel_parampathinfo(), get_cast_hashentry(), get_eclass_for_sort_expr(), get_index_clause_from_support(), get_joinrel_parampathinfo(), get_qual_for_list(), get_range_nulltest(), get_relation_constraints(), get_relation_foreign_keys(), get_relation_info(), get_relation_statistics(), get_switched_clauses(), GetExistingLocalJoinPath(), ginhandler(), gisthandler(), hashhandler(), ImportForeignSchema(), index_constraint_create(), inheritance_planner(), init_execution_state(), inline_function(), intorel_startup(), load_domaintype_info(), make_agg(), make_agg_arg(), make_andclause(), make_append_rel_info(), make_bitmap_and(), make_bitmap_heapscan(), make_bitmap_indexscan(), make_bitmap_or(), make_canonical_pathkey(), make_ctescan(), make_datum_param(), make_foreignscan(), make_functionscan(), make_gather(), make_group(), make_hash(), make_hashjoin(), make_incrementalsort(), make_indexonlyscan(), make_indexscan(), make_limit(), make_lockrows(), make_material(), make_mergejoin(), make_modifytable(), make_namedtuplestorescan(), make_nestloop(), make_notclause(), make_nulltest_from_distinct(), make_op(), make_opclause(), make_orclause(), make_outerjoininfo(), make_partial_grouping_target(), make_partition_op_expr(), make_partition_pruneinfo(), make_partitionedrel_pruneinfo(), make_pathtarget_from_tlist(), make_placeholder_expr(), make_project_set(), make_recursive_union(), make_restrictinfo_internal(), make_result(), make_row_comparison_op(), make_samplescan(), make_scalar_array_op(), make_seqscan(), make_setop(), make_sort(), make_subplan(), make_subqueryscan(), make_tablefuncscan(), make_tidscan(), make_unique_from_pathkeys(), make_unique_from_sortclauses(), make_valuesscan(), make_windowagg(), make_worktablescan(), makeA_Expr(), makeAlias(), makeBitString(), makeBoolExpr(), makeColumnDef(), makeConst(), makeDefElem(), makeDefElemExtended(), makeFloat(), makeFromExpr(), makeFuncCall(), makeFuncExpr(), makeGroupingSet(), makeIndexInfo(), makeInteger(), makeRangeVar(), makeRelabelType(), makeSimpleA_Expr(), makeString(), makeTargetEntry(), makeTypeNameFromNameList(), makeTypeNameFromOid(), makeVacuumRelation(), makeVar(), map_variable_attnos_mutator(), match_boolean_index_clause(), match_clause_to_indexcol(), match_clause_to_ordering_op(), match_opclause_to_indexcol(), match_saopclause_to_indexcol(), MergeAttributes(), negate_clause(), NotNullImpliedByRelConstraints(), paramlist_param_ref(), ParseComplexProjection(), ParseFuncOrColumn(), PartConstraintImpliedByRelConstraint(), pg_get_object_address(), pg_get_triggerdef_worker(), pg_plan_queries(), plan_cluster_use_sort(), plan_create_index_workers(), postgres_fdw_handler(), prep_domain_constraints(), PrepareQuery(), preprocess_grouping_sets(), preprocess_rowmarks(), process_equivalence(), process_matched_tle(), process_subquery_nestloop_params(), ProcessUtilityForAlterTable(), ProcessUtilitySlow(), pull_up_simple_subquery(), pull_up_simple_values(), pull_up_union_leaf_queries(), pullup_replace_vars_callback(), RebuildConstraintComment(), record_plan_function_dependency(), record_plan_type_dependency(), RelationGetFKeyList(), reorder_grouping_sets(), reparameterize_path(), reparameterize_path_by_child(), replace_empty_jointree(), replace_nestloop_param_placeholdervar(), replace_nestloop_param_var(), replace_nestloop_params_mutator(), replace_outer_agg(), replace_outer_grouping(), replace_outer_placeholdervar(), replace_outer_var(), ReplaceVarsFromTargetList_callback(), resolve_unique_index_expr(), rewriteTargetView(), RI_Initial_Check(), scalararraysel(), set_joinrel_partition_key_exprs(), spghandler(), sql_fn_make_param(), SS_make_initplan_from_plan(), SS_process_ctes(), standard_planner(), subquery_planner(), tbm_create(), test_rls_hooks_permissive(), test_rls_hooks_restrictive(), transformAExprIn(), transformAExprOp(), transformAlterTableStmt(), transformArrayExpr(), transformAssignmentIndirection(), transformCallStmt(), transformCaseExpr(), transformCoalesceExpr(), transformCollateClause(), transformColumnDefinition(), transformContainerSubscripts(), transformCreateTableAsStmt(), transformCurrentOfExpr(), transformDeclareCursorStmt(), transformDeleteStmt(), transformExplainStmt(), transformFKConstraints(), transformFromClauseItem(), transformGroupingFunc(), transformIndexConstraint(), transformInsertStmt(), transformLockingClause(), transformMinMaxExpr(), transformMultiAssignRef(), transformOfType(), transformOnConflictClause(), transformOptionalSelectInto(), transformPartitionRangeBounds(), transformPartitionSpec(), transformRangeTableFunc(), transformRangeTableSample(), transformRowExpr(), transformRuleStmt(), transformSelectStmt(), transformSetOperationStmt(), transformSetOperationTree(), transformStmt(), transformSubLink(), transformTableLikeClause(), transformUpdateStmt(), transformValuesClause(), transformWindowDefinitions(), transformXmlExpr(), transformXmlSerialize(), tsm_bernoulli_handler(), tsm_system_handler(), tsm_system_rows_handler(), tsm_system_time_handler(), and variable_paramref_hook().

◆ newNode

#define newNode (   size,
  tag 
)
Value:
( \
AssertMacro((size) >= sizeof(Node)), /* need the tag, at least */ \
newNodeMacroHolder = (Node *) palloc0fast(size), \
newNodeMacroHolder->type = (tag), \
)
Definition: nodes.h:529
#define palloc0fast(sz)
Definition: palloc.h:91
PGDLLIMPORT Node * newNodeMacroHolder
Definition: nodes.c:31

Definition at line 567 of file nodes.h.

Referenced by _copyExtensibleNode(), and _readExtensibleNode().

◆ NodeSetTag

#define NodeSetTag (   nodeptr,
 
)    (((Node*)(nodeptr))->type = (t))

Definition at line 578 of file nodes.h.

Referenced by make_distinct_op(), and transformAExprNullIf().

◆ nodeTag

#define nodeTag (   nodeptr)    (((const Node*)(nodeptr))->type)

Definition at line 534 of file nodes.h.

Referenced by _outQuery(), add_base_rels_to_query(), add_vars_to_targetlist(), AlterDomainAddConstraint(), analyze_requires_snapshot(), assign_collations_walker(), ATPostAlterTypeParse(), bitmap_subplan_mark_shared(), btcostestimate(), build_joinrel_tlist(), build_subplan(), check_functions_in_node(), ChoosePortalStrategy(), ClassifyUtilityCommandAsReadOnly(), contain_leaked_vars_walker(), copyObjectImpl(), cost_bitmap_tree_node(), cost_subplan(), create_bitmap_subplan(), CreateCommandTag(), deconstruct_recurse(), defGetBoolean(), defGetInt32(), defGetInt64(), defGetNumeric(), defGetQualifiedName(), defGetString(), defGetStringList(), defGetTypeLength(), defGetTypeName(), DefineDomain(), deparseExpr(), equal(), eval_const_expressions_mutator(), exec_save_simple_expr(), ExecEndNode(), ExecIndexBuildScanKeys(), ExecInitExprRec(), ExecInitFunctionResultSet(), ExecInitNode(), ExecInitSubPlan(), ExecInitWholeRowVar(), ExecMarkPos(), ExecParallelEstimate(), ExecParallelInitializeDSM(), ExecParallelInitializeWorker(), ExecParallelReInitializeDSM(), ExecParallelRetrieveInstrumentation(), ExecReScan(), ExecRestrPos(), ExecScanReScan(), ExecSetVariableStmt(), ExecShutdownNode(), ExecSupportsBackwardScan(), ExplainNode(), ExplainPreScanNode(), ExplainTargetRel(), exprCollation(), expression_tree_mutator(), expression_tree_walker(), exprInputCollation(), exprLocation(), exprSetCollation(), exprSetInputCollation(), exprType(), exprTypmod(), FigureColnameInternal(), finalize_plan(), find_indexpath_quals(), find_jointree_node_for_rel(), find_placeholders_recurse(), fix_indexqual_clause(), flatten_set_variable_args(), foreign_expr_walker(), generate_partitionwise_join_paths(), get_from_clause_item(), get_indexpath_pages(), get_matching_partitions(), get_relids_in_jointree(), get_rule_expr(), get_setop_query(), get_sublink_expr(), GetCommandLogLevel(), gincostestimate(), has_dangerous_join_using(), hide_coercion_node(), identify_join_columns(), ImportForeignSchema(), index_other_operands_eval_cost(), is_foreign_param(), is_projection_capable_plan(), is_simple_union_all_recurse(), isSimpleNode(), jointree_contains_lateral_outer_refs(), JumbleExpr(), looks_like_function(), make_const(), make_rel_from_joinlist(), markQueryForLocking(), markRTEForSelectPriv(), MultiExecProcNode(), NameListToString(), negate_clause(), oidparse(), outNode(), pg_get_partkeydef_worker(), planstate_tree_walker(), preprocess_qual_conditions(), ProcessUtilitySlow(), pull_up_sublinks_jointree_recurse(), pull_up_subqueries_recurse(), pull_up_union_leaf_queries(), RangeVarCallbackForAlterRelation(), raw_expression_tree_walker(), recurse_push_qual(), recurse_pushdown_safe(), recurse_set_operations(), reduce_outer_joins_pass1(), reduce_outer_joins_pass2(), remove_rel_from_joinlist(), remove_useless_results_recurse(), reparameterize_path_by_child(), replace_vars_in_jointree(), search_plan_tree(), sepgsql_utility_command(), set_plan_refs(), set_using_names(), standard_ProcessUtility(), transformAlterTableStmt(), transformConstraintAttrs(), transformCreateSchemaStmt(), transformCreateStmt(), transformExprRecurse(), transformFromClauseItem(), transformStmt(), UtilityContainsQuery(), UtilityReturnsTuples(), and UtilityTupleDescriptor().

Typedef Documentation

◆ AggSplit

typedef enum AggSplit AggSplit

◆ AggStrategy

typedef enum AggStrategy AggStrategy

◆ CmdType

typedef enum CmdType CmdType

◆ Cost

typedef double Cost

Definition at line 663 of file nodes.h.

◆ JoinType

typedef enum JoinType JoinType

◆ LimitOption

typedef enum LimitOption LimitOption

◆ Node

typedef struct Node Node

◆ NodeTag

typedef enum NodeTag NodeTag

◆ OnConflictAction

◆ Selectivity

typedef double Selectivity

Definition at line 662 of file nodes.h.

◆ SetOpCmd

typedef enum SetOpCmd SetOpCmd

◆ SetOpStrategy

Enumeration Type Documentation

◆ AggSplit

enum AggSplit
Enumerator
AGGSPLIT_SIMPLE 
AGGSPLIT_INITIAL_SERIAL 
AGGSPLIT_FINAL_DESERIAL 

Definition at line 780 of file nodes.h.

781 {
782  /* Basic, non-split aggregation: */
783  AGGSPLIT_SIMPLE = 0,
784  /* Initial phase of partial aggregation, with serialization: */
786  /* Final phase of partial aggregation, with deserialization: */
788 } AggSplit;
#define AGGSPLITOP_DESERIALIZE
Definition: nodes.h:777
#define AGGSPLITOP_COMBINE
Definition: nodes.h:774
#define AGGSPLITOP_SERIALIZE
Definition: nodes.h:776
AggSplit
Definition: nodes.h:780
#define AGGSPLITOP_SKIPFINAL
Definition: nodes.h:775

◆ AggStrategy

Enumerator
AGG_PLAIN 
AGG_SORTED 
AGG_HASHED 
AGG_MIXED 

Definition at line 758 of file nodes.h.

759 {
760  AGG_PLAIN, /* simple agg across all input rows */
761  AGG_SORTED, /* grouped agg, input must be sorted */
762  AGG_HASHED, /* grouped agg, use internal hashtable */
763  AGG_MIXED /* grouped agg, hash and sort both used */
764 } AggStrategy;
AggStrategy
Definition: nodes.h:758

◆ CmdType

enum CmdType
Enumerator
CMD_UNKNOWN 
CMD_SELECT 
CMD_UPDATE 
CMD_INSERT 
CMD_DELETE 
CMD_UTILITY 
CMD_NOTHING 

Definition at line 672 of file nodes.h.

673 {
674  CMD_UNKNOWN,
675  CMD_SELECT, /* select stmt */
676  CMD_UPDATE, /* update stmt */
677  CMD_INSERT, /* insert stmt */
678  CMD_DELETE,
679  CMD_UTILITY, /* cmds like create, destroy, copy, vacuum,
680  * etc. */
681  CMD_NOTHING /* dummy command for instead nothing rules
682  * with qual */
683 } CmdType;
CmdType
Definition: nodes.h:672

◆ JoinType

enum JoinType
Enumerator
JOIN_INNER 
JOIN_LEFT 
JOIN_FULL 
JOIN_RIGHT 
JOIN_SEMI 
JOIN_ANTI 
JOIN_UNIQUE_OUTER 
JOIN_UNIQUE_INNER 

Definition at line 696 of file nodes.h.

697 {
698  /*
699  * The canonical kinds of joins according to the SQL JOIN syntax. Only
700  * these codes can appear in parser output (e.g., JoinExpr nodes).
701  */
702  JOIN_INNER, /* matching tuple pairs only */
703  JOIN_LEFT, /* pairs + unmatched LHS tuples */
704  JOIN_FULL, /* pairs + unmatched LHS + unmatched RHS */
705  JOIN_RIGHT, /* pairs + unmatched RHS tuples */
706 
707  /*
708  * Semijoins and anti-semijoins (as defined in relational theory) do not
709  * appear in the SQL JOIN syntax, but there are standard idioms for
710  * representing them (e.g., using EXISTS). The planner recognizes these
711  * cases and converts them to joins. So the planner and executor must
712  * support these codes. NOTE: in JOIN_SEMI output, it is unspecified
713  * which matching RHS row is joined to. In JOIN_ANTI output, the row is
714  * guaranteed to be null-extended.
715  */
716  JOIN_SEMI, /* 1 copy of each LHS row that has match(es) */
717  JOIN_ANTI, /* 1 copy of each LHS row that has no match */
718 
719  /*
720  * These codes are used internally in the planner, but are not supported
721  * by the executor (nor, indeed, by most of the planner).
722  */
723  JOIN_UNIQUE_OUTER, /* LHS path must be made unique */
724  JOIN_UNIQUE_INNER /* RHS path must be made unique */
725 
726  /*
727  * We might need additional join types someday.
728  */
729 } JoinType;
JoinType
Definition: nodes.h:696

◆ LimitOption

Enumerator
LIMIT_OPTION_COUNT 
LIMIT_OPTION_WITH_TIES 
LIMIT_OPTION_DEFAULT 

Definition at line 835 of file nodes.h.

836 {
837  LIMIT_OPTION_COUNT, /* FETCH FIRST... ONLY */
838  LIMIT_OPTION_WITH_TIES, /* FETCH FIRST... WITH TIES */
839  LIMIT_OPTION_DEFAULT, /* No limit present */
840 } LimitOption;
LimitOption
Definition: nodes.h:835

◆ NodeTag

enum NodeTag
Enumerator
T_Invalid 
T_IndexInfo 
T_ExprContext 
T_ProjectionInfo 
T_JunkFilter 
T_OnConflictSetState 
T_ResultRelInfo 
T_EState 
T_TupleTableSlot 
T_Plan 
T_Result 
T_ProjectSet 
T_ModifyTable 
T_Append 
T_MergeAppend 
T_RecursiveUnion 
T_BitmapAnd 
T_BitmapOr 
T_Scan 
T_SeqScan 
T_SampleScan 
T_IndexScan 
T_IndexOnlyScan 
T_BitmapIndexScan 
T_BitmapHeapScan 
T_TidScan 
T_SubqueryScan 
T_FunctionScan 
T_ValuesScan 
T_TableFuncScan 
T_CteScan 
T_NamedTuplestoreScan 
T_WorkTableScan 
T_ForeignScan 
T_CustomScan 
T_Join 
T_NestLoop 
T_MergeJoin 
T_HashJoin 
T_Material 
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_NestLoopParam 
T_PlanRowMark 
T_PartitionPruneInfo 
T_PartitionedRelPruneInfo 
T_PartitionPruneStepOp 
T_PartitionPruneStepCombine 
T_PlanInvalItem 
T_PlanState 
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_SubqueryScanState 
T_FunctionScanState 
T_TableFuncScanState 
T_ValuesScanState 
T_CteScanState 
T_NamedTuplestoreScanState 
T_WorkTableScanState 
T_ForeignScanState 
T_CustomScanState 
T_JoinState 
T_NestLoopState 
T_MergeJoinState 
T_HashJoinState 
T_MaterialState 
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_Alias 
T_RangeVar 
T_TableFunc 
T_Expr 
T_Var 
T_Const 
T_Param 
T_Aggref 
T_GroupingFunc 
T_WindowFunc 
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_NullTest 
T_BooleanTest 
T_CoerceToDomain 
T_CoerceToDomainValue 
T_SetToDefault 
T_CurrentOfExpr 
T_NextValueExpr 
T_InferenceElem 
T_TargetEntry 
T_RangeTblRef 
T_JoinExpr 
T_FromExpr 
T_OnConflictExpr 
T_IntoClause 
T_ExprState 
T_AggrefExprState 
T_WindowFuncExprState 
T_SetExprState 
T_SubPlanState 
T_AlternativeSubPlanState 
T_DomainConstraintState 
T_PlannerInfo 
T_PlannerGlobal 
T_RelOptInfo 
T_IndexOptInfo 
T_ForeignKeyOptInfo 
T_ParamPathInfo 
T_Path 
T_IndexPath 
T_BitmapHeapPath 
T_BitmapAndPath 
T_BitmapOrPath 
T_TidPath 
T_SubqueryScanPath 
T_ForeignPath 
T_CustomPath 
T_NestPath 
T_MergePath 
T_HashPath 
T_AppendPath 
T_MergeAppendPath 
T_GroupResultPath 
T_MaterialPath 
T_UniquePath 
T_GatherPath 
T_GatherMergePath 
T_ProjectionPath 
T_ProjectSetPath 
T_SortPath 
T_IncrementalSortPath 
T_GroupPath 
T_UpperUniquePath 
T_AggPath 
T_GroupingSetsPath 
T_MinMaxAggPath 
T_WindowAggPath 
T_SetOpPath 
T_RecursiveUnionPath 
T_LockRowsPath 
T_ModifyTablePath 
T_LimitPath 
T_EquivalenceClass 
T_EquivalenceMember 
T_PathKey 
T_PathTarget 
T_RestrictInfo 
T_IndexClause 
T_PlaceHolderVar 
T_SpecialJoinInfo 
T_AppendRelInfo 
T_PlaceHolderInfo 
T_MinMaxAggInfo 
T_PlannerParamItem 
T_RollupData 
T_GroupingSetData 
T_StatisticExtInfo 
T_MemoryContext 
T_AllocSetContext 
T_SlabContext 
T_GenerationContext 
T_Value 
T_Integer 
T_Float 
T_String 
T_BitString 
T_Null 
T_List 
T_IntList 
T_OidList 
T_ExtensibleNode 
T_RawStmt 
T_Query 
T_PlannedStmt 
T_InsertStmt 
T_DeleteStmt 
T_UpdateStmt 
T_SelectStmt 
T_AlterTableStmt 
T_AlterTableCmd 
T_AlterDomainStmt 
T_SetOperationStmt 
T_GrantStmt 
T_GrantRoleStmt 
T_AlterDefaultPrivilegesStmt 
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_DoStmt 
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_CreateTableAsStmt 
T_CreateSeqStmt 
T_AlterSeqStmt 
T_VariableSetStmt 
T_VariableShowStmt 
T_DiscardStmt 
T_CreateTrigStmt 
T_CreatePLangStmt 
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_CreateOpClassStmt 
T_CreateOpFamilyStmt 
T_AlterOpFamilyStmt 
T_PrepareStmt 
T_ExecuteStmt 
T_DeallocateStmt 
T_DeclareCursorStmt 
T_CreateTableSpaceStmt 
T_DropTableSpaceStmt 
T_AlterObjectDependsStmt 
T_AlterObjectSchemaStmt 
T_AlterOwnerStmt 
T_AlterOperatorStmt 
T_AlterTypeStmt 
T_DropOwnedStmt 
T_ReassignOwnedStmt 
T_CompositeTypeStmt 
T_CreateEnumStmt 
T_CreateRangeStmt 
T_AlterEnumStmt 
T_AlterTSDictionaryStmt 
T_AlterTSConfigurationStmt 
T_CreateFdwStmt 
T_AlterFdwStmt 
T_CreateForeignServerStmt 
T_AlterForeignServerStmt 
T_CreateUserMappingStmt 
T_AlterUserMappingStmt 
T_DropUserMappingStmt 
T_AlterTableSpaceOptionsStmt 
T_AlterTableMoveAllStmt 
T_SecLabelStmt 
T_CreateForeignTableStmt 
T_ImportForeignSchemaStmt 
T_CreateExtensionStmt 
T_AlterExtensionStmt 
T_AlterExtensionContentsStmt 
T_CreateEventTrigStmt 
T_AlterEventTrigStmt 
T_RefreshMatViewStmt 
T_ReplicaIdentityStmt 
T_AlterSystemStmt 
T_CreatePolicyStmt 
T_AlterPolicyStmt 
T_CreateTransformStmt 
T_CreateAmStmt 
T_CreatePublicationStmt 
T_AlterPublicationStmt 
T_CreateSubscriptionStmt 
T_AlterSubscriptionStmt 
T_DropSubscriptionStmt 
T_CreateStatsStmt 
T_AlterCollationStmt 
T_CallStmt 
T_AlterStatsStmt 
T_A_Expr 
T_ColumnRef 
T_ParamRef 
T_A_Const 
T_FuncCall 
T_A_Star 
T_A_Indices 
T_A_Indirection 
T_A_ArrayExpr 
T_ResTarget 
T_MultiAssignRef 
T_TypeCast 
T_CollateClause 
T_SortBy 
T_WindowDef 
T_RangeSubselect 
T_RangeFunction 
T_RangeTableSample 
T_RangeTableFunc 
T_RangeTableFuncCol 
T_TypeName 
T_ColumnDef 
T_IndexElem 
T_Constraint 
T_DefElem 
T_RangeTblEntry 
T_RangeTblFunction 
T_TableSampleClause 
T_WithCheckOption 
T_SortGroupClause 
T_GroupingSet 
T_WindowClause 
T_ObjectWithArgs 
T_AccessPriv 
T_CreateOpClassItem 
T_TableLikeClause 
T_FunctionParameter 
T_LockingClause 
T_RowMarkClause 
T_XmlSerialize 
T_WithClause 
T_InferClause 
T_OnConflictClause 
T_CommonTableExpr 
T_RoleSpec 
T_TriggerTransition 
T_PartitionElem 
T_PartitionSpec 
T_PartitionBoundSpec 
T_PartitionRangeDatum 
T_PartitionCmd 
T_VacuumRelation 
T_IdentifySystemCmd 
T_BaseBackupCmd 
T_CreateReplicationSlotCmd 
T_DropReplicationSlotCmd 
T_StartReplicationCmd 
T_TimeLineHistoryCmd 
T_SQLCmd 
T_TriggerData 
T_EventTriggerData 
T_ReturnSetInfo 
T_WindowObjectData 
T_TIDBitmap 
T_InlineCodeBlock 
T_FdwRoutine 
T_IndexAmRoutine 
T_TableAmRoutine 
T_TsmRoutine 
T_ForeignKeyCacheInfo 
T_CallContext 
T_SupportRequestSimplify 
T_SupportRequestSelectivity 
T_SupportRequestCost 
T_SupportRequestRows 
T_SupportRequestIndexCondition 

Definition at line 26 of file nodes.h.

27 {
28  T_Invalid = 0,
29 
30  /*
31  * TAGS FOR EXECUTOR NODES (execnodes.h)
32  */
39  T_EState,
41 
42  /*
43  * TAGS FOR PLAN NODES (plannodes.h)
44  */
45  T_Plan,
46  T_Result,
49  T_Append,
53  T_BitmapOr,
54  T_Scan,
55  T_SeqScan,
61  T_TidScan,
66  T_CteScan,
71  T_Join,
72  T_NestLoop,
74  T_HashJoin,
75  T_Material,
76  T_Sort,
78  T_Group,
79  T_Agg,
81  T_Unique,
82  T_Gather,
84  T_Hash,
85  T_SetOp,
86  T_LockRows,
87  T_Limit,
88  /* these aren't subclasses of Plan: */
96 
97  /*
98  * TAGS FOR PLAN STATE NODES (execnodes.h)
99  *
100  * These should correspond one-to-one with Plan node types.
101  */
102  T_PlanState,
111  T_ScanState,
128  T_JoinState,
133  T_SortState,
135  T_GroupState,
136  T_AggState,
141  T_HashState,
142  T_SetOpState,
144  T_LimitState,
145 
146  /*
147  * TAGS FOR PRIMITIVE NODES (primnodes.h)
148  */
149  T_Alias,
150  T_RangeVar,
151  T_TableFunc,
152  T_Expr,
153  T_Var,
154  T_Const,
155  T_Param,
156  T_Aggref,
158  T_WindowFunc,
160  T_FuncExpr,
162  T_OpExpr,
164  T_NullIfExpr,
166  T_BoolExpr,
167  T_SubLink,
168  T_SubPlan,
171  T_FieldStore,
177  T_CaseExpr,
178  T_CaseWhen,
180  T_ArrayExpr,
181  T_RowExpr,
184  T_MinMaxExpr,
186  T_XmlExpr,
187  T_NullTest,
197  T_JoinExpr,
198  T_FromExpr,
200  T_IntoClause,
201 
202  /*
203  * TAGS FOR EXPRESSION STATE NODES (execnodes.h)
204  *
205  * ExprState represents the evaluation state for a whole expression tree.
206  * Most Expr-based plan nodes do not have a corresponding expression state
207  * node, they're fully handled within execExpr* - but sometimes the state
208  * needs to be shared with other parts of the executor, as for example
209  * with AggrefExprState, which nodeAgg.c has to modify.
210  */
211  T_ExprState,
218 
219  /*
220  * TAGS FOR PLANNER NODES (pathnodes.h)
221  */
224  T_RelOptInfo,
228  T_Path,
229  T_IndexPath,
233  T_TidPath,
236  T_CustomPath,
237  T_NestPath,
238  T_MergePath,
239  T_HashPath,
240  T_AppendPath,
244  T_UniquePath,
245  T_GatherPath,
249  T_SortPath,
251  T_GroupPath,
253  T_AggPath,
257  T_SetOpPath,
261  T_LimitPath,
262  /* these aren't subclasses of Path: */
265  T_PathKey,
266  T_PathTarget,
275  T_RollupData,
278 
279  /*
280  * TAGS FOR MEMORY NODES (memnodes.h)
281  */
286 
287  /*
288  * TAGS FOR VALUE NODES (value.h)
289  */
290  T_Value,
291  T_Integer,
292  T_Float,
293  T_String,
294  T_BitString,
295  T_Null,
296 
297  /*
298  * TAGS FOR LIST NODES (pg_list.h)
299  */
300  T_List,
301  T_IntList,
302  T_OidList,
303 
304  /*
305  * TAGS FOR EXTENSIBLE NODES (extensible.h)
306  */
308 
309  /*
310  * TAGS FOR STATEMENT NODES (mostly in parsenodes.h)
311  */
312  T_RawStmt,
313  T_Query,
315  T_InsertStmt,
316  T_DeleteStmt,
317  T_UpdateStmt,
318  T_SelectStmt,
323  T_GrantStmt,
328  T_CopyStmt,
329  T_CreateStmt,
330  T_DefineStmt,
331  T_DropStmt,
334  T_FetchStmt,
335  T_IndexStmt,
338  T_DoStmt,
339  T_RenameStmt,
340  T_RuleStmt,
341  T_NotifyStmt,
342  T_ListenStmt,
345  T_ViewStmt,
346  T_LoadStmt,
349  T_DropdbStmt,
350  T_VacuumStmt,
363  T_LockStmt,
426  T_CallStmt,
428 
429  /*
430  * TAGS FOR PARSE TREE NODES (parsenodes.h)
431  */
432  T_A_Expr,
433  T_ColumnRef,
434  T_ParamRef,
435  T_A_Const,
436  T_FuncCall,
437  T_A_Star,
438  T_A_Indices,
441  T_ResTarget,
443  T_TypeCast,
445  T_SortBy,
446  T_WindowDef,
452  T_TypeName,
453  T_ColumnDef,
454  T_IndexElem,
455  T_Constraint,
456  T_DefElem,
465  T_AccessPriv,
472  T_WithClause,
476  T_RoleSpec,
484 
485  /*
486  * TAGS FOR REPLICATION GRAMMAR PARSE NODES (replnodes.h)
487  */
494  T_SQLCmd,
495 
496  /*
497  * TAGS FOR RANDOM OTHER STUFF
498  *
499  * These are objects that aren't part of parse/plan/execute node tree
500  * structures, but we give them NodeTags anyway for identification
501  * purposes (usually because they are involved in APIs where we want to
502  * pass multiple object types through the same pointer).
503  */
504  T_TriggerData, /* in commands/trigger.h */
505  T_EventTriggerData, /* in commands/event_trigger.h */
506  T_ReturnSetInfo, /* in nodes/execnodes.h */
507  T_WindowObjectData, /* private in nodeWindowAgg.c */
508  T_TIDBitmap, /* in nodes/tidbitmap.h */
509  T_InlineCodeBlock, /* in nodes/parsenodes.h */
510  T_FdwRoutine, /* in foreign/fdwapi.h */
511  T_IndexAmRoutine, /* in access/amapi.h */
512  T_TableAmRoutine, /* in access/tableam.h */
513  T_TsmRoutine, /* in access/tsmapi.h */
514  T_ForeignKeyCacheInfo, /* in utils/rel.h */
515  T_CallContext, /* in nodes/parsenodes.h */
516  T_SupportRequestSimplify, /* in nodes/supportnodes.h */
517  T_SupportRequestSelectivity, /* in nodes/supportnodes.h */
518  T_SupportRequestCost, /* in nodes/supportnodes.h */
519  T_SupportRequestRows, /* in nodes/supportnodes.h */
520  T_SupportRequestIndexCondition /* in nodes/supportnodes.h */
521 } NodeTag;
Definition: nodes.h:79
Definition: nodes.h:81
Definition: nodes.h:54
Definition: nodes.h:49
Definition: nodes.h:76
NodeTag
Definition: nodes.h:26
Definition: nodes.h:46
Definition: nodes.h:152
Definition: nodes.h:78
Definition: nodes.h:149
Definition: nodes.h:300
Definition: nodes.h:154
Definition: nodes.h:153
Definition: nodes.h:313
Definition: nodes.h:84
Definition: nodes.h:290
Definition: nodes.h:45
Definition: nodes.h:71
Definition: nodes.h:295
Definition: nodes.h:85
Definition: nodes.h:292
Definition: nodes.h:82
Definition: nodes.h:228
Definition: nodes.h:39
Definition: nodes.h:155
Definition: nodes.h:87

◆ OnConflictAction

Enumerator
ONCONFLICT_NONE 
ONCONFLICT_NOTHING 
ONCONFLICT_UPDATE 

Definition at line 822 of file nodes.h.

823 {
824  ONCONFLICT_NONE, /* No "ON CONFLICT" clause */
825  ONCONFLICT_NOTHING, /* ON CONFLICT ... DO NOTHING */
826  ONCONFLICT_UPDATE /* ON CONFLICT ... DO UPDATE */
OnConflictAction
Definition: nodes.h:822

◆ SetOpCmd

enum SetOpCmd
Enumerator
SETOPCMD_INTERSECT 
SETOPCMD_INTERSECT_ALL 
SETOPCMD_EXCEPT 
SETOPCMD_EXCEPT_ALL 

Definition at line 802 of file nodes.h.

◆ SetOpStrategy

Enumerator
SETOP_SORTED 
SETOP_HASHED 

Definition at line 810 of file nodes.h.

811 {
812  SETOP_SORTED, /* input must be sorted */
813  SETOP_HASHED /* use internal hashtable */
814 } SetOpStrategy;
SetOpStrategy
Definition: nodes.h:810

Function Documentation

◆ bmsToString()

char* bmsToString ( const struct Bitmapset bms)

◆ copyObjectImpl()

void* copyObjectImpl ( const void *  obj)

Definition at line 4823 of file copyfuncs.c.

References _copyA_ArrayExpr(), _copyA_Indirection(), _copyAccessPriv(), _copyAConst(), _copyAExpr(), _copyAgg(), _copyAggref(), _copyAIndices(), _copyAlias(), _copyAlterCollationStmt(), _copyAlterDatabaseSetStmt(), _copyAlterDatabaseStmt(), _copyAlterDefaultPrivilegesStmt(), _copyAlterDomainStmt(), _copyAlterEnumStmt(), _copyAlterEventTrigStmt(), _copyAlterExtensionContentsStmt(), _copyAlterExtensionStmt(), _copyAlterFdwStmt(), _copyAlterForeignServerStmt(), _copyAlterFunctionStmt(), _copyAlternativeSubPlan(), _copyAlterObjectDependsStmt(), _copyAlterObjectSchemaStmt(), _copyAlterOperatorStmt(), _copyAlterOpFamilyStmt(), _copyAlterOwnerStmt(), _copyAlterPolicyStmt(), _copyAlterPublicationStmt(), _copyAlterRoleSetStmt(), _copyAlterRoleStmt(), _copyAlterSeqStmt(), _copyAlterStatsStmt(), _copyAlterSubscriptionStmt(), _copyAlterSystemStmt(), _copyAlterTableCmd(), _copyAlterTableMoveAllStmt(), _copyAlterTableSpaceOptionsStmt(), _copyAlterTableStmt(), _copyAlterTSConfigurationStmt(), _copyAlterTSDictionaryStmt(), _copyAlterTypeStmt(), _copyAlterUserMappingStmt(), _copyAppend(), _copyAppendRelInfo(), _copyArrayCoerceExpr(), _copyArrayExpr(), _copyAStar(), _copyBitmapAnd(), _copyBitmapHeapScan(), _copyBitmapIndexScan(), _copyBitmapOr(), _copyBooleanTest(), _copyBoolExpr(), _copyCallStmt(), _copyCaseExpr(), _copyCaseTestExpr(), _copyCaseWhen(), _copyClosePortalStmt(), _copyClusterStmt(), _copyCoalesceExpr(), _copyCoerceToDomain(), _copyCoerceToDomainValue(), _copyCoerceViaIO(), _copyCollateClause(), _copyCollateExpr(), _copyColumnDef(), _copyColumnRef(), _copyCommentStmt(), _copyCommonTableExpr(), _copyCompositeTypeStmt(), _copyConst(), _copyConstraint(), _copyConstraintsSetStmt(), _copyConvertRowtypeExpr(), _copyCopyStmt(), _copyCreateAmStmt(), _copyCreateCastStmt(), _copyCreateConversionStmt(), _copyCreatedbStmt(), _copyCreateDomainStmt(), _copyCreateEnumStmt(), _copyCreateEventTrigStmt(), _copyCreateExtensionStmt(), _copyCreateFdwStmt(), _copyCreateForeignServerStmt(), _copyCreateForeignTableStmt(), _copyCreateFunctionStmt(), _copyCreateOpClassItem(), _copyCreateOpClassStmt(), _copyCreateOpFamilyStmt(), _copyCreatePLangStmt(), _copyCreatePolicyStmt(), _copyCreatePublicationStmt(), _copyCreateRangeStmt(), _copyCreateRoleStmt(), _copyCreateSchemaStmt(), _copyCreateSeqStmt(), _copyCreateStatsStmt(), _copyCreateStmt(), _copyCreateSubscriptionStmt(), _copyCreateTableAsStmt(), _copyCreateTableSpaceStmt(), _copyCreateTransformStmt(), _copyCreateTrigStmt(), _copyCreateUserMappingStmt(), _copyCteScan(), _copyCurrentOfExpr(), _copyCustomScan(), _copyDeallocateStmt(), _copyDeclareCursorStmt(), _copyDefElem(), _copyDefineStmt(), _copyDeleteStmt(), _copyDiscardStmt(), _copyDistinctExpr(), _copyDoStmt(), _copyDropdbStmt(), _copyDropOwnedStmt(), _copyDropRoleStmt(), _copyDropStmt(), _copyDropSubscriptionStmt(), _copyDropTableSpaceStmt(), _copyDropUserMappingStmt(), _copyExecuteStmt(), _copyExplainStmt(), _copyExtensibleNode(), _copyFetchStmt(), _copyFieldSelect(), _copyFieldStore(), _copyForeignKeyCacheInfo(), _copyForeignScan(), _copyFromExpr(), _copyFuncCall(), _copyFuncExpr(), _copyFunctionParameter(), _copyFunctionScan(), _copyGather(), _copyGatherMerge(), _copyGrantRoleStmt(), _copyGrantStmt(), _copyGroup(), _copyGroupingFunc(), _copyGroupingSet(), _copyHash(), _copyHashJoin(), _copyImportForeignSchemaStmt(), _copyIncrementalSort(), _copyIndexElem(), _copyIndexOnlyScan(), _copyIndexScan(), _copyIndexStmt(), _copyInferClause(), _copyInferenceElem(), _copyInsertStmt(), _copyIntoClause(), _copyJoin(), _copyJoinExpr(), _copyLimit(), _copyListenStmt(), _copyLoadStmt(), _copyLockingClause(), _copyLockRows(), _copyLockStmt(), _copyMaterial(), _copyMergeAppend(), _copyMergeJoin(), _copyMinMaxExpr(), _copyModifyTable(), _copyMultiAssignRef(), _copyNamedArgExpr(), _copyNamedTuplestoreScan(), _copyNestLoop(), _copyNestLoopParam(), _copyNextValueExpr(), _copyNotifyStmt(), _copyNullIfExpr(), _copyNullTest(), _copyObjectWithArgs(), _copyOnConflictClause(), _copyOnConflictExpr(), _copyOpExpr(), _copyParam(), _copyParamRef(), _copyPartitionBoundSpec(), _copyPartitionCmd(), _copyPartitionedRelPruneInfo(), _copyPartitionElem(), _copyPartitionPruneInfo(), _copyPartitionPruneStepCombine(), _copyPartitionPruneStepOp(), _copyPartitionRangeDatum(), _copyPartitionSpec(), _copyPathKey(), _copyPlaceHolderInfo(), _copyPlaceHolderVar(), _copyPlan(), _copyPlanInvalItem(), _copyPlannedStmt(), _copyPlanRowMark(), _copyPrepareStmt(), _copyProjectSet(), _copyQuery(), _copyRangeFunction(), _copyRangeSubselect(), _copyRangeTableFunc(), _copyRangeTableFuncCol(), _copyRangeTableSample(), _copyRangeTblEntry(), _copyRangeTblFunction(), _copyRangeTblRef(), _copyRangeVar(), _copyRawStmt(), _copyReassignOwnedStmt(), _copyRecursiveUnion(), _copyRefreshMatViewStmt(), _copyReindexStmt(), _copyRelabelType(), _copyRenameStmt(), _copyReplicaIdentityStmt(), _copyResTarget(), _copyRestrictInfo(), _copyResult(), _copyRoleSpec(), _copyRowCompareExpr(), _copyRowExpr(), _copyRowMarkClause(), _copyRuleStmt(), _copySampleScan(), _copyScalarArrayOpExpr(), _copyScan(), _copySecLabelStmt(), _copySelectStmt(), _copySeqScan(), _copySetOp(), _copySetOperationStmt(), _copySetToDefault(), _copySort(), _copySortBy(), _copySortGroupClause(), _copySpecialJoinInfo(), _copySQLValueFunction(), _copySubLink(), _copySubPlan(), _copySubqueryScan(), _copySubscriptingRef(), _copyTableFunc(), _copyTableFuncScan(), _copyTableLikeClause(), _copyTableSampleClause(), _copyTargetEntry(), _copyTidScan(), _copyTransactionStmt(), _copyTriggerTransition(), _copyTruncateStmt(), _copyTypeCast(), _copyTypeName(), _copyUnique(), _copyUnlistenStmt(), _copyUpdateStmt(), _copyVacuumRelation(), _copyVacuumStmt(), _copyValue(), _copyValuesScan(), _copyVar(), _copyVariableSetStmt(), _copyVariableShowStmt(), _copyViewStmt(), _copyWindowAgg(), _copyWindowClause(), _copyWindowDef(), _copyWindowFunc(), _copyWithCheckOption(), _copyWithClause(), _copyWorkTableScan(), _copyXmlExpr(), _copyXmlSerialize(), check_stack_depth(), elog, ERROR, list_copy(), list_copy_deep(), makeNode, nodeTag, T_A_ArrayExpr, T_A_Const, T_A_Expr, T_A_Indices, T_A_Indirection, T_A_Star, T_AccessPriv, T_Agg, T_Aggref, T_Alias, T_AlterCollationStmt, T_AlterDatabaseSetStmt, T_AlterDatabaseStmt, T_AlterDefaultPrivilegesStmt, T_AlterDomainStmt, T_AlterEnumStmt, T_AlterEventTrigStmt, T_AlterExtensionContentsStmt, T_AlterExtensionStmt, T_AlterFdwStmt, T_AlterForeignServerStmt, T_AlterFunctionStmt, T_AlternativeSubPlan, T_AlterObjectDependsStmt, T_AlterObjectSchemaStmt, T_AlterOperatorStmt, T_AlterOpFamilyStmt, T_AlterOwnerStmt, T_AlterPolicyStmt, T_AlterPublicationStmt, T_AlterRoleSetStmt, T_AlterRoleStmt, T_AlterSeqStmt, T_AlterStatsStmt, T_AlterSubscriptionStmt, T_AlterSystemStmt, T_AlterTableCmd, T_AlterTableMoveAllStmt, T_AlterTableSpaceOptionsStmt, T_AlterTableStmt, T_AlterTSConfigurationStmt, T_AlterTSDictionaryStmt, T_AlterTypeStmt, T_AlterUserMappingStmt, T_Append, T_AppendRelInfo, T_ArrayCoerceExpr, T_ArrayExpr, T_BitmapAnd, T_BitmapHeapScan, T_BitmapIndexScan, T_BitmapOr, T_BitString, T_BooleanTest, T_BoolExpr, T_CallStmt, T_CaseExpr, T_CaseTestExpr, T_CaseWhen, T_CheckPointStmt, T_ClosePortalStmt, T_ClusterStmt, T_CoalesceExpr, T_CoerceToDomain, T_CoerceToDomainValue, T_CoerceViaIO, T_CollateClause, T_CollateExpr, T_ColumnDef, T_ColumnRef, T_CommentStmt, T_CommonTableExpr, T_CompositeTypeStmt, T_Const, T_Constraint, T_ConstraintsSetStmt, T_ConvertRowtypeExpr, T_CopyStmt, T_CreateAmStmt, T_CreateCastStmt, T_CreateConversionStmt, T_CreatedbStmt, T_CreateDomainStmt, T_CreateEnumStmt, T_CreateEventTrigStmt, T_CreateExtensionStmt, T_CreateFdwStmt, T_CreateForeignServerStmt, T_CreateForeignTableStmt, T_CreateFunctionStmt, T_CreateOpClassItem, T_CreateOpClassStmt, T_CreateOpFamilyStmt, T_CreatePLangStmt, T_CreatePolicyStmt, T_CreatePublicationStmt, T_CreateRangeStmt, T_CreateRoleStmt, T_CreateSchemaStmt, T_CreateSeqStmt, T_CreateStatsStmt, T_CreateStmt, T_CreateSubscriptionStmt, T_CreateTableAsStmt, T_CreateTableSpaceStmt, T_CreateTransformStmt, T_CreateTrigStmt, T_CreateUserMappingStmt, T_CteScan, T_CurrentOfExpr, T_CustomScan, T_DeallocateStmt, T_DeclareCursorStmt, T_DefElem, T_DefineStmt, T_DeleteStmt, T_DiscardStmt, T_DistinctExpr, T_DoStmt, T_DropdbStmt, T_DropOwnedStmt, T_DropRoleStmt, T_DropStmt, T_DropSubscriptionStmt, T_DropTableSpaceStmt, T_DropUserMappingStmt, T_ExecuteStmt, T_ExplainStmt, T_ExtensibleNode, T_FetchStmt, T_FieldSelect, T_FieldStore, T_Float, T_ForeignKeyCacheInfo, T_ForeignScan, T_FromExpr, T_FuncCall, T_FuncExpr, T_FunctionParameter, T_FunctionScan, T_Gather, T_GatherMerge, T_GrantRoleStmt, T_GrantStmt, T_Group, T_GroupingFunc, T_GroupingSet, T_Hash, T_HashJoin, T_ImportForeignSchemaStmt, T_IncrementalSort, T_IndexElem, T_IndexOnlyScan, T_IndexScan, T_IndexStmt, T_InferClause, T_InferenceElem, T_InsertStmt, T_Integer, T_IntList, T_IntoClause, T_Join, T_JoinExpr, T_Limit, T_List, T_ListenStmt, T_LoadStmt, T_LockingClause, T_LockRows, T_LockStmt, T_Material, T_MergeAppend, T_MergeJoin, T_MinMaxExpr, T_ModifyTable, T_MultiAssignRef, T_NamedArgExpr, T_NamedTuplestoreScan, T_NestLoop, T_NestLoopParam, T_NextValueExpr, T_NotifyStmt, T_Null, T_NullIfExpr, T_NullTest, T_ObjectWithArgs, T_OidList, T_OnConflictClause, T_OnConflictExpr, T_OpExpr, T_Param, T_ParamRef, T_PartitionBoundSpec, T_PartitionCmd, T_PartitionedRelPruneInfo, T_PartitionElem, T_PartitionPruneInfo, T_PartitionPruneStepCombine, T_PartitionPruneStepOp, T_PartitionRangeDatum, T_PartitionSpec, T_PathKey, T_PlaceHolderInfo, T_PlaceHolderVar, T_Plan, T_PlanInvalItem, T_PlannedStmt, T_PlanRowMark, T_PrepareStmt, T_ProjectSet, T_Query, T_RangeFunction, T_RangeSubselect, T_RangeTableFunc, T_RangeTableFuncCol, T_RangeTableSample, T_RangeTblEntry, T_RangeTblFunction, T_RangeTblRef, T_RangeVar, T_RawStmt, T_ReassignOwnedStmt, T_RecursiveUnion, T_RefreshMatViewStmt, T_ReindexStmt, T_RelabelType, T_RenameStmt, T_ReplicaIdentityStmt, T_ResTarget, T_RestrictInfo, T_Result, T_RoleSpec, T_RowCompareExpr, T_RowExpr, T_RowMarkClause, T_RuleStmt, T_SampleScan, T_ScalarArrayOpExpr, T_Scan, T_SecLabelStmt, T_SelectStmt, T_SeqScan, T_SetOp, T_SetOperationStmt, T_SetToDefault, T_Sort, T_SortBy, T_SortGroupClause, T_SpecialJoinInfo, T_SQLValueFunction, T_String, T_SubLink, T_SubPlan, T_SubqueryScan, T_SubscriptingRef, T_TableFunc, T_TableFuncScan, T_TableLikeClause, T_TableSampleClause, T_TargetEntry, T_TidScan, T_TransactionStmt, T_TriggerTransition, T_TruncateStmt, T_TypeCast, T_TypeName, T_Unique, T_UnlistenStmt, T_UpdateStmt, T_VacuumRelation, T_VacuumStmt, T_ValuesScan, T_Var, T_VariableSetStmt, T_VariableShowStmt, T_ViewStmt, T_WindowAgg, T_WindowClause, T_WindowDef, T_WindowFunc, T_WithCheckOption, T_WithClause, T_WorkTableScan, T_XmlExpr, and T_XmlSerialize.

Referenced by list_copy_deep().

4824 {
4825  void *retval;
4826 
4827  if (from == NULL)
4828  return NULL;
4829 
4830  /* Guard against stack overflow due to overly complex expressions */
4832 
4833  switch (nodeTag(from))
4834  {
4835  /*
4836  * PLAN NODES
4837  */
4838  case T_PlannedStmt:
4839  retval = _copyPlannedStmt(from);
4840  break;
4841  case T_Plan:
4842  retval = _copyPlan(from);
4843  break;
4844  case T_Result:
4845  retval = _copyResult(from);
4846  break;
4847  case T_ProjectSet:
4848  retval = _copyProjectSet(from);
4849  break;
4850  case T_ModifyTable:
4851  retval = _copyModifyTable(from);
4852  break;
4853  case T_Append:
4854  retval = _copyAppend(from);
4855  break;
4856  case T_MergeAppend:
4857  retval = _copyMergeAppend(from);
4858  break;
4859  case T_RecursiveUnion:
4860  retval = _copyRecursiveUnion(from);
4861  break;
4862  case T_BitmapAnd:
4863  retval = _copyBitmapAnd(from);
4864  break;
4865  case T_BitmapOr:
4866  retval = _copyBitmapOr(from);
4867  break;
4868  case T_Scan:
4869  retval = _copyScan(from);
4870  break;
4871  case T_Gather:
4872  retval = _copyGather(from);
4873  break;
4874  case T_GatherMerge:
4875  retval = _copyGatherMerge(from);
4876  break;
4877  case T_SeqScan:
4878  retval = _copySeqScan(from);
4879  break;
4880  case T_SampleScan:
4881  retval = _copySampleScan(from);
4882  break;
4883  case T_IndexScan:
4884  retval = _copyIndexScan(from);
4885  break;
4886  case T_IndexOnlyScan:
4887  retval = _copyIndexOnlyScan(from);
4888  break;
4889  case T_BitmapIndexScan:
4890  retval = _copyBitmapIndexScan(from);
4891  break;
4892  case T_BitmapHeapScan:
4893  retval = _copyBitmapHeapScan(from);
4894  break;
4895  case T_TidScan:
4896  retval = _copyTidScan(from);
4897  break;
4898  case T_SubqueryScan:
4899  retval = _copySubqueryScan(from);
4900  break;
4901  case T_FunctionScan:
4902  retval = _copyFunctionScan(from);
4903  break;
4904  case T_TableFuncScan:
4905  retval = _copyTableFuncScan(from);
4906  break;
4907  case T_ValuesScan:
4908  retval = _copyValuesScan(from);
4909  break;
4910  case T_CteScan:
4911  retval = _copyCteScan(from);
4912  break;
4913  case T_NamedTuplestoreScan:
4914  retval = _copyNamedTuplestoreScan(from);
4915  break;
4916  case T_WorkTableScan:
4917  retval = _copyWorkTableScan(from);
4918  break;
4919  case T_ForeignScan:
4920  retval = _copyForeignScan(from);
4921  break;
4922  case T_CustomScan:
4923  retval = _copyCustomScan(from);
4924  break;
4925  case T_Join:
4926  retval = _copyJoin(from);
4927  break;
4928  case T_NestLoop:
4929  retval = _copyNestLoop(from);
4930  break;
4931  case T_MergeJoin:
4932  retval = _copyMergeJoin(from);
4933  break;
4934  case T_HashJoin:
4935  retval = _copyHashJoin(from);
4936  break;
4937  case T_Material:
4938  retval = _copyMaterial(from);
4939  break;
4940  case T_Sort:
4941  retval = _copySort(from);
4942  break;
4943  case T_IncrementalSort:
4944  retval = _copyIncrementalSort(from);
4945  break;
4946  case T_Group:
4947  retval = _copyGroup(from);
4948  break;
4949  case T_Agg:
4950  retval = _copyAgg(from);
4951  break;
4952  case T_WindowAgg:
4953  retval = _copyWindowAgg(from);
4954  break;
4955  case T_Unique:
4956  retval = _copyUnique(from);
4957  break;
4958  case T_Hash:
4959  retval = _copyHash(from);
4960  break;
4961  case T_SetOp:
4962  retval = _copySetOp(from);
4963  break;
4964  case T_LockRows:
4965  retval = _copyLockRows(from);
4966  break;
4967  case T_Limit:
4968  retval = _copyLimit(from);
4969  break;
4970  case T_NestLoopParam:
4971  retval = _copyNestLoopParam(from);
4972  break;
4973  case T_PlanRowMark:
4974  retval = _copyPlanRowMark(from);
4975  break;
4976  case T_PartitionPruneInfo:
4977  retval = _copyPartitionPruneInfo(from);
4978  break;
4980  retval = _copyPartitionedRelPruneInfo(from);
4981  break;
4983  retval = _copyPartitionPruneStepOp(from);
4984  break;
4986  retval = _copyPartitionPruneStepCombine(from);
4987  break;
4988  case T_PlanInvalItem:
4989  retval = _copyPlanInvalItem(from);
4990  break;
4991 
4992  /*
4993  * PRIMITIVE NODES
4994  */
4995  case T_Alias:
4996  retval = _copyAlias(from);
4997  break;
4998  case T_RangeVar:
4999  retval = _copyRangeVar(from);
5000  break;
5001  case T_TableFunc:
5002  retval = _copyTableFunc(from);
5003  break;
5004  case T_IntoClause:
5005  retval = _copyIntoClause(from);
5006  break;
5007  case T_Var:
5008  retval = _copyVar(from);
5009  break;
5010  case T_Const:
5011  retval = _copyConst(from);
5012  break;
5013  case T_Param:
5014  retval = _copyParam(from);
5015  break;
5016  case T_Aggref:
5017  retval = _copyAggref(from);
5018  break;
5019  case T_GroupingFunc:
5020  retval = _copyGroupingFunc(from);
5021  break;
5022  case T_WindowFunc:
5023  retval = _copyWindowFunc(from);
5024  break;
5025  case T_SubscriptingRef:
5026  retval = _copySubscriptingRef(from);
5027  break;
5028  case T_FuncExpr:
5029  retval = _copyFuncExpr(from);
5030  break;
5031  case T_NamedArgExpr:
5032  retval = _copyNamedArgExpr(from);
5033  break;
5034  case T_OpExpr:
5035  retval = _copyOpExpr(from);
5036  break;
5037  case T_DistinctExpr:
5038  retval = _copyDistinctExpr(from);
5039  break;
5040  case T_NullIfExpr:
5041  retval = _copyNullIfExpr(from);
5042  break;
5043  case T_ScalarArrayOpExpr:
5044  retval = _copyScalarArrayOpExpr(from);
5045  break;
5046  case T_BoolExpr:
5047  retval = _copyBoolExpr(from);
5048  break;
5049  case T_SubLink:
5050  retval = _copySubLink(from);
5051  break;
5052  case T_SubPlan:
5053  retval = _copySubPlan(from);
5054  break;
5055  case T_AlternativeSubPlan:
5056  retval = _copyAlternativeSubPlan(from);
5057  break;
5058  case T_FieldSelect:
5059  retval = _copyFieldSelect(from);
5060  break;
5061  case T_FieldStore:
5062  retval = _copyFieldStore(from);
5063  break;
5064  case T_RelabelType:
5065  retval = _copyRelabelType(from);
5066  break;
5067  case T_CoerceViaIO:
5068  retval = _copyCoerceViaIO(from);
5069  break;
5070  case T_ArrayCoerceExpr:
5071  retval = _copyArrayCoerceExpr(from);
5072  break;
5073  case T_ConvertRowtypeExpr:
5074  retval = _copyConvertRowtypeExpr(from);
5075  break;
5076  case T_CollateExpr:
5077  retval = _copyCollateExpr(from);
5078  break;
5079  case T_CaseExpr:
5080  retval = _copyCaseExpr(from);
5081  break;
5082  case T_CaseWhen:
5083  retval = _copyCaseWhen(from);
5084  break;
5085  case T_CaseTestExpr:
5086  retval = _copyCaseTestExpr(from);
5087  break;
5088  case T_ArrayExpr:
5089  retval = _copyArrayExpr(from);
5090  break;
5091  case T_RowExpr:
5092  retval = _copyRowExpr(from);
5093  break;
5094  case T_RowCompareExpr:
5095  retval = _copyRowCompareExpr(from);
5096  break;
5097  case T_CoalesceExpr:
5098  retval = _copyCoalesceExpr(from);
5099  break;
5100  case T_MinMaxExpr:
5101  retval = _copyMinMaxExpr(from);
5102  break;
5103  case T_SQLValueFunction:
5104  retval = _copySQLValueFunction(from);
5105  break;
5106  case T_XmlExpr:
5107  retval = _copyXmlExpr(from);
5108  break;
5109  case T_NullTest:
5110  retval = _copyNullTest(from);
5111  break;
5112  case T_BooleanTest:
5113  retval = _copyBooleanTest(from);
5114  break;
5115  case T_CoerceToDomain:
5116  retval = _copyCoerceToDomain(from);
5117  break;
5118  case T_CoerceToDomainValue:
5119  retval = _copyCoerceToDomainValue(from);
5120  break;
5121  case T_SetToDefault:
5122  retval = _copySetToDefault(from);
5123  break;
5124  case T_CurrentOfExpr:
5125  retval = _copyCurrentOfExpr(from);
5126  break;
5127  case T_NextValueExpr:
5128  retval = _copyNextValueExpr(from);
5129  break;
5130  case T_InferenceElem:
5131  retval = _copyInferenceElem(from);
5132  break;
5133  case T_TargetEntry:
5134  retval = _copyTargetEntry(from);
5135  break;
5136  case T_RangeTblRef:
5137  retval = _copyRangeTblRef(from);
5138  break;
5139  case T_JoinExpr:
5140  retval = _copyJoinExpr(from);
5141  break;
5142  case T_FromExpr:
5143  retval = _copyFromExpr(from);
5144  break;
5145  case T_OnConflictExpr:
5146  retval = _copyOnConflictExpr(from);
5147  break;
5148 
5149  /*
5150  * RELATION NODES
5151  */
5152  case T_PathKey:
5153  retval = _copyPathKey(from);
5154  break;
5155  case T_RestrictInfo:
5156  retval = _copyRestrictInfo(from);
5157  break;
5158  case T_PlaceHolderVar:
5159  retval = _copyPlaceHolderVar(from);
5160  break;
5161  case T_SpecialJoinInfo:
5162  retval = _copySpecialJoinInfo(from);
5163  break;
5164  case T_AppendRelInfo:
5165  retval = _copyAppendRelInfo(from);
5166  break;
5167  case T_PlaceHolderInfo:
5168  retval = _copyPlaceHolderInfo(from);
5169  break;
5170 
5171  /*
5172  * VALUE NODES
5173  */
5174  case T_Integer:
5175  case T_Float:
5176  case T_String:
5177  case T_BitString:
5178  case T_Null:
5179  retval = _copyValue(from);
5180  break;
5181 
5182  /*
5183  * LIST NODES
5184  */
5185  case T_List:
5186  retval = list_copy_deep(from);
5187  break;
5188 
5189  /*
5190  * Lists of integers and OIDs don't need to be deep-copied, so we
5191  * perform a shallow copy via list_copy()
5192  */
5193  case T_IntList:
5194  case T_OidList:
5195  retval = list_copy(from);
5196  break;
5197 
5198  /*
5199  * EXTENSIBLE NODES
5200  */
5201  case T_ExtensibleNode:
5202  retval = _copyExtensibleNode(from);
5203  break;
5204 
5205  /*
5206  * PARSE NODES
5207  */
5208  case T_Query:
5209  retval = _copyQuery(from);
5210  break;
5211  case T_RawStmt:
5212  retval = _copyRawStmt(from);
5213  break;
5214  case T_InsertStmt:
5215  retval = _copyInsertStmt(from);
5216  break;
5217  case T_DeleteStmt:
5218  retval = _copyDeleteStmt(from);
5219  break;
5220  case T_UpdateStmt:
5221  retval = _copyUpdateStmt(from);
5222  break;
5223  case T_SelectStmt:
5224  retval = _copySelectStmt(from);
5225  break;
5226  case T_SetOperationStmt:
5227  retval = _copySetOperationStmt(from);
5228  break;
5229  case T_AlterTableStmt:
5230  retval = _copyAlterTableStmt(from);
5231  break;
5232  case T_AlterTableCmd:
5233  retval = _copyAlterTableCmd(from);
5234  break;
5235  case T_AlterCollationStmt:
5236  retval = _copyAlterCollationStmt(from);
5237  break;
5238  case T_AlterDomainStmt:
5239  retval = _copyAlterDomainStmt(from);
5240  break;
5241  case T_GrantStmt:
5242  retval = _copyGrantStmt(from);
5243  break;
5244  case T_GrantRoleStmt:
5245  retval = _copyGrantRoleStmt(from);
5246  break;
5248  retval = _copyAlterDefaultPrivilegesStmt(from);
5249  break;
5250  case T_DeclareCursorStmt:
5251  retval = _copyDeclareCursorStmt(from);
5252  break;
5253  case T_ClosePortalStmt:
5254  retval = _copyClosePortalStmt(from);
5255  break;
5256  case T_CallStmt:
5257  retval = _copyCallStmt(from);
5258  break;
5259  case T_ClusterStmt:
5260  retval = _copyClusterStmt(from);
5261  break;
5262  case T_CopyStmt:
5263  retval = _copyCopyStmt(from);
5264  break;
5265  case T_CreateStmt:
5266  retval = _copyCreateStmt(from);
5267  break;
5268  case T_TableLikeClause:
5269  retval = _copyTableLikeClause(from);
5270  break;
5271  case T_DefineStmt:
5272  retval = _copyDefineStmt(from);
5273  break;
5274  case T_DropStmt:
5275  retval = _copyDropStmt(from);
5276  break;
5277  case T_TruncateStmt:
5278  retval = _copyTruncateStmt(from);
5279  break;
5280  case T_CommentStmt:
5281  retval = _copyCommentStmt(from);
5282  break;
5283  case T_SecLabelStmt:
5284  retval = _copySecLabelStmt(from);
5285  break;
5286  case T_FetchStmt:
5287  retval = _copyFetchStmt(from);
5288  break;
5289  case T_IndexStmt:
5290  retval = _copyIndexStmt(from);
5291  break;
5292  case T_CreateStatsStmt:
5293  retval = _copyCreateStatsStmt(from);
5294  break;
5295  case T_AlterStatsStmt:
5296  retval = _copyAlterStatsStmt(from);
5297  break;
5298  case T_CreateFunctionStmt:
5299  retval = _copyCreateFunctionStmt(from);
5300  break;
5301  case T_FunctionParameter:
5302  retval = _copyFunctionParameter(from);
5303  break;
5304  case T_AlterFunctionStmt:
5305  retval = _copyAlterFunctionStmt(from);
5306  break;
5307  case T_DoStmt:
5308  retval = _copyDoStmt(from);
5309  break;
5310  case T_RenameStmt:
5311  retval = _copyRenameStmt(from);
5312  break;
5314  retval = _copyAlterObjectDependsStmt(from);
5315  break;
5317  retval = _copyAlterObjectSchemaStmt(from);
5318  break;
5319  case T_AlterOwnerStmt:
5320  retval = _copyAlterOwnerStmt(from);
5321  break;
5322  case T_AlterOperatorStmt:
5323  retval = _copyAlterOperatorStmt(from);
5324  break;
5325  case T_AlterTypeStmt:
5326  retval = _copyAlterTypeStmt(from);
5327  break;
5328  case T_RuleStmt:
5329  retval = _copyRuleStmt(from);
5330  break;
5331  case T_NotifyStmt:
5332  retval = _copyNotifyStmt(from);
5333  break;
5334  case T_ListenStmt:
5335  retval = _copyListenStmt(from);
5336  break;
5337  case T_UnlistenStmt:
5338  retval = _copyUnlistenStmt(from);
5339  break;
5340  case T_TransactionStmt:
5341  retval = _copyTransactionStmt(from);
5342  break;
5343  case T_CompositeTypeStmt:
5344  retval = _copyCompositeTypeStmt(from);
5345  break;
5346  case T_CreateEnumStmt:
5347  retval = _copyCreateEnumStmt(from);
5348  break;
5349  case T_CreateRangeStmt:
5350  retval = _copyCreateRangeStmt(from);
5351  break;
5352  case T_AlterEnumStmt:
5353  retval = _copyAlterEnumStmt(from);
5354  break;
5355  case T_ViewStmt:
5356  retval = _copyViewStmt(from);
5357  break;
5358  case T_LoadStmt:
5359  retval = _copyLoadStmt(from);
5360  break;
5361  case T_CreateDomainStmt:
5362  retval = _copyCreateDomainStmt(from);
5363  break;
5364  case T_CreateOpClassStmt:
5365  retval = _copyCreateOpClassStmt(from);
5366  break;
5367  case T_CreateOpClassItem:
5368  retval = _copyCreateOpClassItem(from);
5369  break;
5370  case T_CreateOpFamilyStmt:
5371  retval = _copyCreateOpFamilyStmt(from);
5372  break;
5373  case T_AlterOpFamilyStmt:
5374  retval = _copyAlterOpFamilyStmt(from);
5375  break;
5376  case T_CreatedbStmt:
5377  retval = _copyCreatedbStmt(from);
5378  break;
5379  case T_AlterDatabaseStmt:
5380  retval = _copyAlterDatabaseStmt(from);
5381  break;
5383  retval = _copyAlterDatabaseSetStmt(from);
5384  break;
5385  case T_DropdbStmt:
5386  retval = _copyDropdbStmt(from);
5387  break;
5388  case T_VacuumStmt:
5389  retval = _copyVacuumStmt(from);
5390  break;
5391  case T_VacuumRelation:
5392  retval = _copyVacuumRelation(from);
5393  break;
5394  case T_ExplainStmt:
5395  retval = _copyExplainStmt(from);
5396  break;
5397  case T_CreateTableAsStmt:
5398  retval = _copyCreateTableAsStmt(from);
5399  break;
5400  case T_RefreshMatViewStmt:
5401  retval = _copyRefreshMatViewStmt(from);
5402  break;
5403  case T_ReplicaIdentityStmt:
5404  retval = _copyReplicaIdentityStmt(from);
5405  break;
5406  case T_AlterSystemStmt:
5407  retval = _copyAlterSystemStmt(from);
5408  break;
5409  case T_CreateSeqStmt:
5410  retval = _copyCreateSeqStmt(from);
5411  break;
5412  case T_AlterSeqStmt:
5413  retval = _copyAlterSeqStmt(from);
5414  break;
5415  case T_VariableSetStmt:
5416  retval = _copyVariableSetStmt(from);
5417  break;
5418  case T_VariableShowStmt:
5419  retval = _copyVariableShowStmt(from);
5420  break;
5421  case T_DiscardStmt:
5422  retval = _copyDiscardStmt(from);
5423  break;
5425  retval = _copyCreateTableSpaceStmt(from);
5426  break;
5427  case T_DropTableSpaceStmt:
5428  retval = _copyDropTableSpaceStmt(from);
5429  break;
5431  retval = _copyAlterTableSpaceOptionsStmt(from);
5432  break;
5434  retval = _copyAlterTableMoveAllStmt(from);
5435  break;
5436  case T_CreateExtensionStmt:
5437  retval = _copyCreateExtensionStmt(from);
5438  break;
5439  case T_AlterExtensionStmt:
5440  retval = _copyAlterExtensionStmt(from);
5441  break;
5443  retval = _copyAlterExtensionContentsStmt(from);
5444  break;
5445  case T_CreateFdwStmt:
5446  retval = _copyCreateFdwStmt(from);
5447  break;
5448  case T_AlterFdwStmt:
5449  retval = _copyAlterFdwStmt(from);
5450  break;
5452  retval = _copyCreateForeignServerStmt(from);
5453  break;
5455  retval = _copyAlterForeignServerStmt(from);
5456  break;
5458  retval = _copyCreateUserMappingStmt(from);
5459  break;
5461  retval = _copyAlterUserMappingStmt(from);
5462  break;
5463  case T_DropUserMappingStmt:
5464  retval = _copyDropUserMappingStmt(from);
5465  break;
5467  retval = _copyCreateForeignTableStmt(from);
5468  break;
5470  retval = _copyImportForeignSchemaStmt(from);
5471  break;
5472  case T_CreateTransformStmt:
5473  retval = _copyCreateTransformStmt(from);
5474  break;
5475  case T_CreateAmStmt:
5476  retval = _copyCreateAmStmt(from);
5477  break;
5478  case T_CreateTrigStmt:
5479  retval = _copyCreateTrigStmt(from);
5480  break;
5481  case T_CreateEventTrigStmt:
5482  retval = _copyCreateEventTrigStmt(from);
5483  break;
5484  case T_AlterEventTrigStmt:
5485  retval = _copyAlterEventTrigStmt(from);
5486  break;
5487  case T_CreatePLangStmt:
5488  retval = _copyCreatePLangStmt(from);
5489  break;
5490  case T_CreateRoleStmt:
5491  retval = _copyCreateRoleStmt(from);
5492  break;
5493  case T_AlterRoleStmt:
5494  retval = _copyAlterRoleStmt(from);
5495  break;
5496  case T_AlterRoleSetStmt:
5497  retval = _copyAlterRoleSetStmt(from);
5498  break;
5499  case T_DropRoleStmt:
5500  retval = _copyDropRoleStmt(from);
5501  break;
5502  case T_LockStmt:
5503  retval = _copyLockStmt(from);
5504  break;
5505  case T_ConstraintsSetStmt:
5506  retval = _copyConstraintsSetStmt(from);
5507  break;
5508  case T_ReindexStmt:
5509  retval = _copyReindexStmt(from);
5510  break;
5511  case T_CheckPointStmt:
5512  retval = (void *) makeNode(CheckPointStmt);
5513  break;
5514  case T_CreateSchemaStmt:
5515  retval = _copyCreateSchemaStmt(from);
5516  break;
5518  retval = _copyCreateConversionStmt(from);
5519  break;
5520  case T_CreateCastStmt:
5521  retval = _copyCreateCastStmt(from);
5522  break;
5523  case T_PrepareStmt:
5524  retval = _copyPrepareStmt(from);
5525  break;
5526  case T_ExecuteStmt:
5527  retval = _copyExecuteStmt(from);
5528  break;
5529  case T_DeallocateStmt:
5530  retval = _copyDeallocateStmt(from);
5531  break;
5532  case T_DropOwnedStmt:
5533  retval = _copyDropOwnedStmt(from);
5534  break;
5535  case T_ReassignOwnedStmt:
5536  retval = _copyReassignOwnedStmt(from);
5537  break;
5539  retval = _copyAlterTSDictionaryStmt(from);
5540  break;
5542  retval = _copyAlterTSConfigurationStmt(from);
5543  break;
5544  case T_CreatePolicyStmt:
5545  retval = _copyCreatePolicyStmt(from);
5546  break;
5547  case T_AlterPolicyStmt:
5548  retval = _copyAlterPolicyStmt(from);
5549  break;
5551  retval = _copyCreatePublicationStmt(from);
5552  break;
5554  retval = _copyAlterPublicationStmt(from);
5555  break;
5557  retval = _copyCreateSubscriptionStmt(from);
5558  break;
5560  retval = _copyAlterSubscriptionStmt(from);
5561  break;
5563  retval = _copyDropSubscriptionStmt(from);
5564  break;
5565  case T_A_Expr:
5566  retval = _copyAExpr(from);
5567  break;
5568  case T_ColumnRef:
5569  retval = _copyColumnRef(from);
5570  break;
5571  case T_ParamRef:
5572  retval = _copyParamRef(from);
5573  break;
5574  case T_A_Const:
5575  retval = _copyAConst(from);
5576  break;
5577  case T_FuncCall:
5578  retval = _copyFuncCall(from);
5579  break;
5580  case T_A_Star:
5581  retval = _copyAStar(from);
5582  break;
5583  case T_A_Indices:
5584  retval = _copyAIndices(from);
5585  break;
5586  case T_A_Indirection:
5587  retval = _copyA_Indirection(from);
5588  break;
5589  case T_A_ArrayExpr:
5590  retval = _copyA_ArrayExpr(from);
5591  break;
5592  case T_ResTarget:
5593  retval = _copyResTarget(from);
5594  break;
5595  case T_MultiAssignRef:
5596  retval = _copyMultiAssignRef(from);
5597  break;
5598  case T_TypeCast:
5599  retval = _copyTypeCast(from);
5600  break;
5601  case T_CollateClause:
5602  retval = _copyCollateClause(from);
5603  break;
5604  case T_SortBy:
5605  retval = _copySortBy(from);
5606  break;
5607  case T_WindowDef:
5608  retval = _copyWindowDef(from);
5609  break;
5610  case T_RangeSubselect:
5611  retval = _copyRangeSubselect(from);
5612  break;
5613  case T_RangeFunction:
5614  retval = _copyRangeFunction(from);
5615  break;
5616  case T_RangeTableSample:
5617  retval = _copyRangeTableSample(from);
5618  break;
5619  case T_RangeTableFunc:
5620  retval = _copyRangeTableFunc(from);
5621  break;
5622  case T_RangeTableFuncCol:
5623  retval = _copyRangeTableFuncCol(from);
5624  break;
5625  case T_TypeName:
5626  retval = _copyTypeName(from);
5627  break;
5628  case T_IndexElem:
5629  retval = _copyIndexElem(from);
5630  break;
5631  case T_ColumnDef:
5632  retval = _copyColumnDef(from);
5633  break;
5634  case T_Constraint:
5635  retval = _copyConstraint(from);
5636  break;
5637  case T_DefElem:
5638  retval = _copyDefElem(from);
5639  break;
5640  case T_LockingClause:
5641  retval = _copyLockingClause(from);
5642  break;
5643  case T_RangeTblEntry:
5644  retval = _copyRangeTblEntry(from);
5645  break;
5646  case T_RangeTblFunction:
5647  retval = _copyRangeTblFunction(from);
5648  break;
5649  case T_TableSampleClause:
5650  retval = _copyTableSampleClause(from);
5651  break;
5652  case T_WithCheckOption:
5653  retval = _copyWithCheckOption(from);
5654  break;
5655  case T_SortGroupClause:
5656  retval = _copySortGroupClause(from);
5657  break;
5658  case T_GroupingSet:
5659  retval = _copyGroupingSet(from);
5660  break;
5661  case T_WindowClause:
5662  retval = _copyWindowClause(from);
5663  break;
5664  case T_RowMarkClause:
5665  retval = _copyRowMarkClause(from);
5666  break;
5667  case T_WithClause:
5668  retval = _copyWithClause(from);
5669  break;
5670  case T_InferClause:
5671  retval = _copyInferClause(from);
5672  break;
5673  case T_OnConflictClause:
5674  retval = _copyOnConflictClause(from);
5675  break;
5676  case T_CommonTableExpr:
5677  retval = _copyCommonTableExpr(from);
5678  break;
5679  case T_ObjectWithArgs:
5680  retval = _copyObjectWithArgs(from);
5681  break;
5682  case T_AccessPriv:
5683  retval = _copyAccessPriv(from);
5684  break;
5685  case T_XmlSerialize:
5686  retval = _copyXmlSerialize(from);
5687  break;
5688  case T_RoleSpec:
5689  retval = _copyRoleSpec(from);
5690  break;
5691  case T_TriggerTransition:
5692  retval = _copyTriggerTransition(from);
5693  break;
5694  case T_PartitionElem:
5695  retval = _copyPartitionElem(from);
5696  break;
5697  case T_PartitionSpec:
5698  retval = _copyPartitionSpec(from);
5699  break;
5700  case T_PartitionBoundSpec:
5701  retval = _copyPartitionBoundSpec(from);
5702  break;
5703  case T_PartitionRangeDatum:
5704  retval = _copyPartitionRangeDatum(from);
5705  break;
5706  case T_PartitionCmd:
5707  retval = _copyPartitionCmd(from);
5708  break;
5709 
5710  /*
5711  * MISCELLANEOUS NODES
5712  */
5713  case T_ForeignKeyCacheInfo:
5714  retval = _copyForeignKeyCacheInfo(from);
5715  break;
5716 
5717  default:
5718  elog(ERROR, "unrecognized node type: %d", (int) nodeTag(from));
5719  retval = 0; /* keep compiler quiet */
5720  break;
5721  }
5722 
5723  return retval;
5724 }
static PartitionPruneStepOp * _copyPartitionPruneStepOp(const PartitionPruneStepOp *from)
Definition: copyfuncs.c:1264
static Limit * _copyLimit(const Limit *from)
Definition: copyfuncs.c:1174
static WindowClause * _copyWindowClause(const WindowClause *from)
Definition: copyfuncs.c:2517
static CreateEnumStmt * _copyCreateEnumStmt(const CreateEnumStmt *from)
Definition: copyfuncs.c:3768
static RefreshMatViewStmt * _copyRefreshMatViewStmt(const RefreshMatViewStmt *from)
Definition: copyfuncs.c:3991
static RangeSubselect * _copyRangeSubselect(const RangeSubselect *from)
Definition: copyfuncs.c:2813
static AlterSystemStmt * _copyAlterSystemStmt(const AlterSystemStmt *from)
Definition: copyfuncs.c:4014
static DeallocateStmt * _copyDeallocateStmt(const DeallocateStmt *from)
Definition: copyfuncs.c:4523
static PlanInvalItem * _copyPlanInvalItem(const PlanInvalItem *from)
Definition: copyfuncs.c:1296
static Scan * _copyScan(const Scan *from)
Definition: copyfuncs.c:424
static AlterEventTrigStmt * _copyAlterEventTrigStmt(const AlterEventTrigStmt *from)
Definition: copyfuncs.c:4349
static SeqScan * _copySeqScan(const SeqScan *from)
Definition: copyfuncs.c:440
static AlterTableMoveAllStmt * _copyAlterTableMoveAllStmt(const AlterTableMoveAllStmt *from)
Definition: copyfuncs.c:4120
static DiscardStmt * _copyDiscardStmt(const DiscardStmt *from)
Definition: copyfuncs.c:4074
static DeleteStmt * _copyDeleteStmt(const DeleteStmt *from)
Definition: copyfuncs.c:3127
static Unique * _copyUnique(const Unique *from)
Definition: copyfuncs.c:1074
static BitmapAnd * _copyBitmapAnd(const BitmapAnd *from)
Definition: copyfuncs.c:314
static AccessPriv * _copyAccessPriv(const AccessPriv *from)
Definition: copyfuncs.c:3284
static FromExpr * _copyFromExpr(const FromExpr *from)
Definition: copyfuncs.c:2221
Definition: nodes.h:79
static DropStmt * _copyDropStmt(const DropStmt *from)
Definition: copyfuncs.c:3443
static Plan * _copyPlan(const Plan *from)
Definition: copyfuncs.c:138
static PartitionedRelPruneInfo * _copyPartitionedRelPruneInfo(const PartitionedRelPruneInfo *from)
Definition: copyfuncs.c:1243
static LockStmt * _copyLockStmt(const LockStmt *from)
Definition: copyfuncs.c:4422
static RowMarkClause * _copyRowMarkClause(const RowMarkClause *from)
Definition: copyfuncs.c:2540
static Var * _copyVar(const Var *from)
Definition: copyfuncs.c:1400
static ValuesScan * _copyValuesScan(const ValuesScan *from)
Definition: copyfuncs.c:659
static AlterForeignServerStmt * _copyAlterForeignServerStmt(const AlterForeignServerStmt *from)
Definition: copyfuncs.c:4209
static RowExpr * _copyRowExpr(const RowExpr *from)
Definition: copyfuncs.c:1938
static VariableShowStmt * _copyVariableShowStmt(const VariableShowStmt *from)
Definition: copyfuncs.c:4064
Definition: nodes.h:81
static TransactionStmt * _copyTransactionStmt(const TransactionStmt *from)
Definition: copyfuncs.c:3743
static AlterTypeStmt * _copyAlterTypeStmt(const AlterTypeStmt *from)
Definition: copyfuncs.c:3685
static TableLikeClause * _copyTableLikeClause(const TableLikeClause *from)
Definition: copyfuncs.c:3416
static CreatePolicyStmt * _copyCreatePolicyStmt(const CreatePolicyStmt *from)
Definition: copyfuncs.c:4582
static AlterEnumStmt * _copyAlterEnumStmt(const AlterEnumStmt *from)
Definition: copyfuncs.c:3790
Definition: nodes.h:54
static AlterExtensionStmt * _copyAlterExtensionStmt(const AlterExtensionStmt *from)
Definition: copyfuncs.c:4146
static DeclareCursorStmt * _copyDeclareCursorStmt(const DeclareCursorStmt *from)
Definition: copyfuncs.c:3321
static A_Const * _copyAConst(const A_Const *from)
Definition: copyfuncs.c:2648
static HashJoin * _copyHashJoin(const HashJoin *from)
Definition: copyfuncs.c:892
static AlterFdwStmt * _copyAlterFdwStmt(const AlterFdwStmt *from)
Definition: copyfuncs.c:4182
static PartitionSpec * _copyPartitionSpec(const PartitionSpec *from)
Definition: copyfuncs.c:4626
static GroupingSet * _copyGroupingSet(const GroupingSet *from)
Definition: copyfuncs.c:2505
static DropRoleStmt * _copyDropRoleStmt(const DropRoleStmt *from)
Definition: copyfuncs.c:4411
static CreateAmStmt * _copyCreateAmStmt(const CreateAmStmt *from)
Definition: copyfuncs.c:4301
static AlternativeSubPlan * _copyAlternativeSubPlan(const AlternativeSubPlan *from)
Definition: copyfuncs.c:1741
static UnlistenStmt * _copyUnlistenStmt(const UnlistenStmt *from)
Definition: copyfuncs.c:3733
static Hash * _copyHash(const Hash *from)
Definition: copyfuncs.c:1098
static AlterTSConfigurationStmt * _copyAlterTSConfigurationStmt(const AlterTSConfigurationStmt *from)
Definition: copyfuncs.c:4566
static CreateOpClassStmt * _copyCreateOpClassStmt(const CreateOpClassStmt *from)
Definition: copyfuncs.c:3843
static Result * _copyResult(const Result *from)
Definition: copyfuncs.c:155
static Material * _copyMaterial(const Material *from)
Definition: copyfuncs.c:917
static GatherMerge * _copyGatherMerge(const GatherMerge *from)
Definition: copyfuncs.c:382
static RestrictInfo * _copyRestrictInfo(const RestrictInfo *from)
Definition: copyfuncs.c:2280
static ClusterStmt * _copyClusterStmt(const ClusterStmt *from)
Definition: copyfuncs.c:3354
static FunctionScan * _copyFunctionScan(const FunctionScan *from)
Definition: copyfuncs.c:616
static AlterFunctionStmt * _copyAlterFunctionStmt(const AlterFunctionStmt *from)
Definition: copyfuncs.c:3594
static SortBy * _copySortBy(const SortBy *from)
Definition: copyfuncs.c:2782
static MergeJoin * _copyMergeJoin(const MergeJoin *from)
Definition: copyfuncs.c:861
static AlterCollationStmt * _copyAlterCollationStmt(const AlterCollationStmt *from)
Definition: copyfuncs.c:3230
static RuleStmt * _copyRuleStmt(const RuleStmt *from)
Definition: copyfuncs.c:3696
static ImportForeignSchemaStmt * _copyImportForeignSchemaStmt(const ImportForeignSchemaStmt *from)
Definition: copyfuncs.c:4272
static FuncCall * _copyFuncCall(const FuncCall *from)
Definition: copyfuncs.c:2679
static RangeVar * _copyRangeVar(const RangeVar *from)
Definition: copyfuncs.c:1329
static CreatedbStmt * _copyCreatedbStmt(const CreatedbStmt *from)
Definition: copyfuncs.c:3897
static CopyStmt * _copyCopyStmt(const CopyStmt *from)
Definition: copyfuncs.c:3366
static IncrementalSort * _copyIncrementalSort(const IncrementalSort *from)
Definition: copyfuncs.c:969
List * list_copy(const List *oldlist)
Definition: list.c:1403
static PartitionBoundSpec * _copyPartitionBoundSpec(const PartitionBoundSpec *from)
Definition: copyfuncs.c:4638
static CreateTableSpaceStmt * _copyCreateTableSpaceStmt(const CreateTableSpaceStmt *from)
Definition: copyfuncs.c:4084
static GrantStmt * _copyGrantStmt(const GrantStmt *from)
Definition: copyfuncs.c:3255
static Value * _copyValue(const Value *from)
Definition: copyfuncs.c:4769
Definition: nodes.h:49
static AlterOperatorStmt * _copyAlterOperatorStmt(const AlterOperatorStmt *from)
Definition: copyfuncs.c:3674
static Alias * _copyAlias(const Alias *from)
Definition: copyfuncs.c:1315
static BitmapHeapScan * _copyBitmapHeapScan(const BitmapHeapScan *from)
Definition: copyfuncs.c:553
static Sort * _copySort(const Sort *from)
Definition: copyfuncs.c:952
static A_ArrayExpr * _copyA_ArrayExpr(const A_ArrayExpr *from)
Definition: copyfuncs.c:2729
static Agg * _copyAgg(const Agg *from)
Definition: copyfuncs.c:1009
static IntoClause * _copyIntoClause(const IntoClause *from)
Definition: copyfuncs.c:1373
static ParamRef * _copyParamRef(const ParamRef *from)
Definition: copyfuncs.c:2637
Definition: nodes.h:76
static IndexStmt * _copyIndexStmt(const IndexStmt *from)
Definition: copyfuncs.c:3507
static FuncExpr * _copyFuncExpr(const FuncExpr *from)
Definition: copyfuncs.c:1565
static ObjectWithArgs * _copyObjectWithArgs(const ObjectWithArgs *from)
Definition: copyfuncs.c:3272
static BoolExpr * _copyBoolExpr(const BoolExpr *from)
Definition: copyfuncs.c:1680
static PathKey * _copyPathKey(const PathKey *from)
Definition: copyfuncs.c:2263
static DefineStmt * _copyDefineStmt(const DefineStmt *from)
Definition: copyfuncs.c:3427
static Join * _copyJoin(const Join *from)
Definition: copyfuncs.c:822
static WithClause * _copyWithClause(const WithClause *from)
Definition: copyfuncs.c:2553
static TypeName * _copyTypeName(const TypeName *from)
Definition: copyfuncs.c:2765
static WindowAgg * _copyWindowAgg(const WindowAgg *from)
Definition: copyfuncs.c:1037
static PlannedStmt * _copyPlannedStmt(const PlannedStmt *from)
Definition: copyfuncs.c:78
static WindowDef * _copyWindowDef(const WindowDef *from)
Definition: copyfuncs.c:2796
static ScalarArrayOpExpr * _copyScalarArrayOpExpr(const ScalarArrayOpExpr *from)
Definition: copyfuncs.c:1662
static ExecuteStmt * _copyExecuteStmt(const ExecuteStmt *from)
Definition: copyfuncs.c:4512
static SubqueryScan * _copySubqueryScan(const SubqueryScan *from)
Definition: copyfuncs.c:595
static WithCheckOption * _copyWithCheckOption(const WithCheckOption *from)
Definition: copyfuncs.c:2477
static ReplicaIdentityStmt * _copyReplicaIdentityStmt(const ReplicaIdentityStmt *from)
Definition: copyfuncs.c:4003
static ExplainStmt * _copyExplainStmt(const ExplainStmt *from)
Definition: copyfuncs.c:3966
static TableSampleClause * _copyTableSampleClause(const TableSampleClause *from)
Definition: copyfuncs.c:2465
static DropUserMappingStmt * _copyDropUserMappingStmt(const DropUserMappingStmt *from)
Definition: copyfuncs.c:4247
static PartitionCmd * _copyPartitionCmd(const PartitionCmd *from)
Definition: copyfuncs.c:4667
static NestLoop * _copyNestLoop(const NestLoop *from)
Definition: copyfuncs.c:839
static Query * _copyQuery(const Query *from)
Definition: copyfuncs.c:3053
static XmlSerialize * _copyXmlSerialize(const XmlSerialize *from)
Definition: copyfuncs.c:3016
static ConvertRowtypeExpr * _copyConvertRowtypeExpr(const ConvertRowtypeExpr *from)
Definition: copyfuncs.c:1841
static RawStmt * _copyRawStmt(const RawStmt *from)
Definition: copyfuncs.c:3099
static PlaceHolderVar * _copyPlaceHolderVar(const PlaceHolderVar *from)
Definition: copyfuncs.c:2325
static BitmapOr * _copyBitmapOr(const BitmapOr *from)
Definition: copyfuncs.c:335
static RenameStmt * _copyRenameStmt(const RenameStmt *from)
Definition: copyfuncs.c:3616
List * list_copy_deep(const List *oldlist)
Definition: list.c:1448
static ReassignOwnedStmt * _copyReassignOwnedStmt(const ReassignOwnedStmt *from)
Definition: copyfuncs.c:4544
static ColumnDef * _copyColumnDef(const ColumnDef *from)
Definition: copyfuncs.c:2927
static A_Star * _copyAStar(const A_Star *from)
Definition: copyfuncs.c:2698
static SpecialJoinInfo * _copySpecialJoinInfo(const SpecialJoinInfo *from)
Definition: copyfuncs.c:2341
static RelabelType * _copyRelabelType(const RelabelType *from)
Definition: copyfuncs.c:1787
static CaseTestExpr * _copyCaseTestExpr(const CaseTestExpr *from)
Definition: copyfuncs.c:1905
static CreatePublicationStmt * _copyCreatePublicationStmt(const CreatePublicationStmt *from)
Definition: copyfuncs.c:4678
static CreateFunctionStmt * _copyCreateFunctionStmt(const CreateFunctionStmt *from)
Definition: copyfuncs.c:3566
static AlterTableStmt * _copyAlterTableStmt(const AlterTableStmt *from)
Definition: copyfuncs.c:3201
static SortGroupClause * _copySortGroupClause(const SortGroupClause *from)
Definition: copyfuncs.c:2491
static ArrayCoerceExpr * _copyArrayCoerceExpr(const ArrayCoerceExpr *from)
Definition: copyfuncs.c:1822
static RoleSpec * _copyRoleSpec(const RoleSpec *from)
Definition: copyfuncs.c:3029
Definition: nodes.h:46
static NextValueExpr * _copyNextValueExpr(const NextValueExpr *from)
Definition: copyfuncs.c:2140
#define ERROR
Definition: elog.h:43
static CreateOpClassItem * _copyCreateOpClassItem(const CreateOpClassItem *from)
Definition: copyfuncs.c:3858
static AlterExtensionContentsStmt * _copyAlterExtensionContentsStmt(const AlterExtensionContentsStmt *from)
Definition: copyfuncs.c:4157
static MergeAppend * _copyMergeAppend(const MergeAppend *from)
Definition: copyfuncs.c:257
static VariableSetStmt * _copyVariableSetStmt(const VariableSetStmt *from)
Definition: copyfuncs.c:4051
static AlterPublicationStmt * _copyAlterPublicationStmt(const AlterPublicationStmt *from)
Definition: copyfuncs.c:4691
static CreateRoleStmt * _copyCreateRoleStmt(const CreateRoleStmt *from)
Definition: copyfuncs.c:4375
static LockingClause * _copyLockingClause(const LockingClause *from)
Definition: copyfuncs.c:3004
static PlaceHolderInfo * _copyPlaceHolderInfo(const PlaceHolderInfo *from)
Definition: copyfuncs.c:2384
static ArrayExpr * _copyArrayExpr(const ArrayExpr *from)
Definition: copyfuncs.c:1920
static CreateExtensionStmt * _copyCreateExtensionStmt(const CreateExtensionStmt *from)
Definition: copyfuncs.c:4134
static SetToDefault * _copySetToDefault(const SetToDefault *from)
Definition: copyfuncs.c:2109
Definition: nodes.h:78
static DropSubscriptionStmt * _copyDropSubscriptionStmt(const DropSubscriptionStmt *from)
Definition: copyfuncs.c:4732
static AlterDefaultPrivilegesStmt * _copyAlterDefaultPrivilegesStmt(const AlterDefaultPrivilegesStmt *from)
Definition: copyfuncs.c:3310
static CreateSeqStmt * _copyCreateSeqStmt(const CreateSeqStmt *from)
Definition: copyfuncs.c:4024
static CreateSchemaStmt * _copyCreateSchemaStmt(const CreateSchemaStmt *from)
Definition: copyfuncs.c:4459
static AlterOpFamilyStmt * _copyAlterOpFamilyStmt(const AlterOpFamilyStmt *from)
Definition: copyfuncs.c:3884
Definition: nodes.h:149
static AlterObjectSchemaStmt * _copyAlterObjectSchemaStmt(const AlterObjectSchemaStmt *from)
Definition: copyfuncs.c:3647
void check_stack_depth(void)
Definition: postgres.c:3312
static RowCompareExpr * _copyRowCompareExpr(const RowCompareExpr *from)
Definition: copyfuncs.c:1955
static Constraint * _copyConstraint(const Constraint *from)
Definition: copyfuncs.c:2953
static CommentStmt * _copyCommentStmt(const CommentStmt *from)
Definition: copyfuncs.c:3469
static CreateRangeStmt * _copyCreateRangeStmt(const CreateRangeStmt *from)
Definition: copyfuncs.c:3779
static AlterUserMappingStmt * _copyAlterUserMappingStmt(const AlterUserMappingStmt *from)
Definition: copyfuncs.c:4235
static IndexElem * _copyIndexElem(const IndexElem *from)
Definition: copyfuncs.c:2910
static CollateExpr * _copyCollateExpr(const CollateExpr *from)
Definition: copyfuncs.c:1857
static TypeCast * _copyTypeCast(const TypeCast *from)
Definition: copyfuncs.c:2886
static MultiAssignRef * _copyMultiAssignRef(const MultiAssignRef *from)
Definition: copyfuncs.c:2753
static OnConflictExpr * _copyOnConflictExpr(const OnConflictExpr *from)
Definition: copyfuncs.c:2235
static InferenceElem * _copyInferenceElem(const InferenceElem *from)
Definition: copyfuncs.c:2154
static IndexOnlyScan * _copyIndexOnlyScan(const IndexOnlyScan *from)
Definition: copyfuncs.c:504
static CreateConversionStmt * _copyCreateConversionStmt(const CreateConversionStmt *from)
Definition: copyfuncs.c:4472
static CreateForeignTableStmt * _copyCreateForeignTableStmt(const CreateForeignTableStmt *from)
Definition: copyfuncs.c:4259
static SubPlan * _copySubPlan(const SubPlan *from)
Definition: copyfuncs.c:1713
Definition: nodes.h:300
static DropdbStmt * _copyDropdbStmt(const DropdbStmt *from)
Definition: copyfuncs.c:3930
Definition: nodes.h:154
static CreateFdwStmt * _copyCreateFdwStmt(const CreateFdwStmt *from)
Definition: copyfuncs.c:4170
static SQLValueFunction * _copySQLValueFunction(const SQLValueFunction *from)
Definition: copyfuncs.c:2007
static DropTableSpaceStmt * _copyDropTableSpaceStmt(const DropTableSpaceStmt *from)
Definition: copyfuncs.c:4097
Definition: nodes.h:153
static RangeTblEntry * _copyRangeTblEntry(const RangeTblEntry *from)
Definition: copyfuncs.c:2404
static PlanRowMark * _copyPlanRowMark(const PlanRowMark *from)
Definition: copyfuncs.c:1215
static ListenStmt * _copyListenStmt(const ListenStmt *from)
Definition: copyfuncs.c:3723
static ProjectSet * _copyProjectSet(const ProjectSet *from)
Definition: copyfuncs.c:176
Definition: nodes.h:313
static DistinctExpr * _copyDistinctExpr(const DistinctExpr *from)
Definition: copyfuncs.c:1622
static SubscriptingRef * _copySubscriptingRef(const SubscriptingRef *from)
Definition: copyfuncs.c:1545
static LoadStmt * _copyLoadStmt(const LoadStmt *from)
Definition: copyfuncs.c:3820
static ConstraintsSetStmt * _copyConstraintsSetStmt(const ConstraintsSetStmt *from)
Definition: copyfuncs.c:4434
static BitmapIndexScan * _copyBitmapIndexScan(const BitmapIndexScan *from)
Definition: copyfuncs.c:529
static AlterTSDictionaryStmt * _copyAlterTSDictionaryStmt(const AlterTSDictionaryStmt *from)
Definition: copyfuncs.c:4555
static AlterDatabaseStmt * _copyAlterDatabaseStmt(const AlterDatabaseStmt *from)
Definition: copyfuncs.c:3908
static CoalesceExpr * _copyCoalesceExpr(const CoalesceExpr *from)
Definition: copyfuncs.c:1973
static CoerceToDomain * _copyCoerceToDomain(const CoerceToDomain *from)
Definition: copyfuncs.c:2075
static ReindexStmt * _copyReindexStmt(const ReindexStmt *from)
Definition: copyfuncs.c:4445
static ExtensibleNode * _copyExtensibleNode(const ExtensibleNode *from)
Definition: copyfuncs.c:4748
static RangeTableFuncCol * _copyRangeTableFuncCol(const RangeTableFuncCol *from)
Definition: copyfuncs.c:2870
static CaseWhen * _copyCaseWhen(const CaseWhen *from)
Definition: copyfuncs.c:1890
static Gather * _copyGather(const Gather *from)
Definition: copyfuncs.c:357
static FieldSelect * _copyFieldSelect(const FieldSelect *from)
Definition: copyfuncs.c:1754
static CoerceToDomainValue * _copyCoerceToDomainValue(const CoerceToDomainValue *from)
Definition: copyfuncs.c:2093
static SelectStmt * _copySelectStmt(const SelectStmt *from)
Definition: copyfuncs.c:3156
static ViewStmt * _copyViewStmt(const ViewStmt *from)
Definition: copyfuncs.c:3805
static AlterObjectDependsStmt * _copyAlterObjectDependsStmt(const AlterObjectDependsStmt *from)
Definition: copyfuncs.c:3633
static CoerceViaIO * _copyCoerceViaIO(const CoerceViaIO *from)
Definition: copyfuncs.c:1805