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 double Cardinality
 
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_TidRangeScan, 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_Memoize, T_Sort, T_IncrementalSort,
  T_Group, T_Agg, T_WindowAgg, T_Unique,
  T_Gather, T_GatherMerge, T_Hash, T_SetOp,
  T_LockRows, T_Limit, T_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_TidRangeScanState, 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_MemoizeState, T_SortState, T_IncrementalSortState,
  T_GroupState, T_AggState, T_WindowAggState, T_UniqueState,
  T_GatherState, T_GatherMergeState, T_HashState, T_SetOpState,
  T_LockRowsState, T_LimitState, T_Alias, T_RangeVar,
  T_TableFunc, 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_WindowFuncExprState, T_SetExprState,
  T_SubPlanState, 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_TidRangePath, T_SubqueryScanPath,
  T_ForeignPath, T_CustomPath, T_NestPath, T_MergePath,
  T_HashPath, T_AppendPath, T_MergeAppendPath, T_GroupResultPath,
  T_MaterialPath, T_MemoizePath, 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_RowIdentityVarInfo, T_PlaceHolderInfo, T_MinMaxAggInfo,
  T_PlannerParamItem, T_RollupData, T_GroupingSetData, T_StatisticExtInfo,
  T_AllocSetContext, T_SlabContext, T_GenerationContext, T_Integer,
  T_Float, T_String, T_BitString, T_List,
  T_IntList, T_OidList, T_ExtensibleNode, T_RawStmt,
  T_Query, T_PlannedStmt, T_InsertStmt, T_DeleteStmt,
  T_UpdateStmt, T_SelectStmt, T_ReturnStmt, T_PLAssignStmt,
  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_StatsElem, 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_CTESearchClause, T_CTECycleClause, T_CommonTableExpr,
  T_RoleSpec, T_TriggerTransition, T_PartitionElem, T_PartitionSpec,
  T_PartitionBoundSpec, T_PartitionRangeDatum, T_PartitionCmd, T_VacuumRelation,
  T_PublicationTable, T_IdentifySystemCmd, T_BaseBackupCmd, T_CreateReplicationSlotCmd,
  T_DropReplicationSlotCmd, T_ReadReplicationSlotCmd, 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 783 of file nodes.h.

◆ AGGSPLITOP_DESERIALIZE

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

Definition at line 786 of file nodes.h.

◆ AGGSPLITOP_SERIALIZE

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

Definition at line 785 of file nodes.h.

◆ AGGSPLITOP_SKIPFINAL

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

Definition at line 784 of file nodes.h.

◆ castNode

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

Definition at line 606 of file nodes.h.

Referenced by AddRelationNewConstraints(), adjust_view_column_set(), analyzeCTE(), ATExecAddColumn(), ATExecAddIdentity(), ATExecAlterConstraint(), ATExecSetIdentity(), ATExecSetOptions(), ATParseTransformCmd(), ATPostAlterTypeParse(), check_object_ownership(), commute_restrictinfo(), conversion_error_callback(), CopyFrom(), create_bitmap_subplan(), create_customscan_plan(), create_scan_plan(), CreateFunction(), defGetInt64(), defGetString(), deparseCaseExpr(), does_not_exist_skipping(), eval_const_expressions_mutator(), ExecAgg(), ExecAlterObjectSchemaStmt(), ExecAlterOwnerStmt(), ExecAppend(), ExecBitmapHeapScan(), ExecCreateTableAs(), ExecCteScan(), ExecCustomScan(), ExecEvalGroupingFunc(), ExecForeignScan(), ExecFunctionScan(), ExecGather(), ExecGatherMerge(), ExecGroup(), ExecHashJoinImpl(), ExecIncrementalSort(), ExecIndexOnlyScan(), ExecIndexScan(), ExecInitAgg(), ExecInitCteScan(), ExecInitCustomScan(), ExecInitPartitionInfo(), ExecInitSubPlan(), ExecInterpExpr(), ExecLimit(), ExecLockRows(), ExecMaterial(), ExecMemoize(), ExecMergeAppend(), ExecMergeJoin(), ExecModifyTable(), ExecNamedTuplestoreScan(), ExecNestLoop(), ExecProjectSet(), ExecRecursiveUnion(), ExecReScanHashJoin(), ExecResult(), ExecSampleScan(), ExecSeqScan(), ExecSetOp(), ExecSort(), ExecSubqueryScan(), ExecSupportsMarkRestore(), ExecTableFuncScan(), ExecTidRangeScan(), ExecTidScan(), ExecUnique(), ExecValuesScan(), ExecWindowAgg(), ExecWorkTableScan(), ExplainNode(), ExplainOneUtility(), ExplainQuery(), extract_or_clause(), fetch_function_defaults(), findTargetlistEntrySQL92(), flatten_set_variable_args(), flatten_simple_union_all(), fmgr_sql_validator(), 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_range(), get_range_key_properties(), get_range_partbound_string(), get_with_clause(), have_partkey_equi_join(), init_sql_fcache(), inline_cte(), inline_function(), inline_set_returning_function(), interpret_AS_clause(), is_projection_capable_path(), 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(), oidparse(), PerformCursorOpen(), pg_get_function_arg_default(), plan_set_operations(), plperl_func_handler(), plpgsql_call_handler(), plpgsql_inline_handler(), plpython_call_handler(), pltcl_func_handler(), postgresBeginForeignInsert(), postgresExplainForeignScan(), preparePresortedCols(), print_function_arguments(), print_function_sqlbody(), ProcedureCreate(), ProcessCopyOptions(), query_is_distinct_for(), rel_is_distinct_for(), RemoveObjects(), RenameConstraint(), RenameType(), RewriteQuery(), rewriteSearchAndCycle(), ScanQueryForLocks(), ScanQueryWalker(), set_rel_consider_parallel(), setRuleCheckAsUser_Query(), ShutdownSetExpr(), SlabAlloc(), SlabFree(), SlabGetChunkSpace(), SlabIsEmpty(), SlabRealloc(), SlabReset(), SlabStats(), standard_ProcessUtility(), subquery_is_pushdown_safe(), switchToPresortedPrefixMode(), TemporalSimplify(), TidQualFromRestrictInfoList(), transformAExprBetween(), transformAExprOp(), transformAlterTableStmt(), transformCallStmt(), transformLimitClause(), transformMultiAssignRef(), transformSetOperationStmt(), and UtilityContainsQuery().

◆ copyObject

#define copyObject (   obj)    copyObjectImpl(obj)

Definition at line 653 of file nodes.h.

Referenced by add_placeholders_to_base_rels(), add_row_identity_var(), 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(), analyzeCTETargetList(), applyRelabelType(), ApplyRetrieveRule(), assign_param_for_placeholdervar(), assign_param_for_var(), ATAddCheckConstraint(), ATExecAddColumn(), ATPrepAlterColumnType(), ATPrepCmd(), 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(), CreateTriggerFiringOn(), DefineIndex(), DefineView(), DetachPartitionFinalize(), distribute_row_identity_vars(), eval_const_expressions_mutator(), EvaluateParams(), EventTriggerAlterTableStart(), EventTriggerCollectAlterDefPrivs(), EventTriggerCollectAlterOpFam(), EventTriggerCollectAlterTableSubcmd(), EventTriggerCollectAlterTSConfig(), EventTriggerCollectCreateOpClass(), EventTriggerCollectGrant(), EventTriggerCollectSimpleCommand(), ExecInitPartitionInfo(), ExecSerializePlan(), expand_indexqual_rowcompare(), expand_single_inheritance_child(), ExpandIndirectionStar(), ExpandRowReference(), expandRTE(), expandTableLikeClause(), ExplainOneUtility(), 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(), get_translated_update_targetlist(), GetCachedExpression(), grouping_planner(), index_register(), 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(), 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(), 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(), rewriteSearchAndCycle(), rewriteTargetView(), set_baserel_partition_key_exprs(), set_plan_refs(), set_subquery_pathlist(), SPI_cursor_open_internal(), SS_process_ctes(), standard_ProcessUtility(), subquery_planner(), substitute_actual_srf_parameters_mutator(), test_rls_hooks_permissive(), test_rls_hooks_restrictive(), transformAExprBetween(), transformAExprIn(), transformCallStmt(), transformCreateTableAsStmt(), transformDistinctClause(), transformDistinctOnClause(), transformGroupClauseExpr(), transformIndexConstraint(), transformJoinUsingClause(), transformPartitionBound(), transformPartitionSpec(), transformWholeRowRef(), 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 803 of file nodes.h.

Referenced by ExecInitAgg(), and get_agg_clause_costs().

◆ DO_AGGSPLIT_SERIALIZE

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

Definition at line 802 of file nodes.h.

Referenced by ExecInitAgg(), get_agg_clause_costs(), 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 588 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_row_identity_var(), add_vars_to_targetlist(), AddQual(), addRangeTableEntryForCTE(), AddRelationNewConstraints(), adjust_appendrel_attrs(), adjust_appendrel_attrs_mutator(), adjust_inherited_attnums(), adjust_view_column_set(), adjustJoinTreeList(), AggCheckCallContext(), AggGetAggref(), AggGetTempMemoryContext(), AggRegisterCallback(), AggStateIsShared(), AlterDomainAddConstraint(), AlterDomainDefault(), AlterTableGetLockLevel(), analyzeCTE(), appendConditions(), apply_child_basequals(), apply_pathtarget_labeling_to_tlist(), apply_projection_to_path(), applyRelabelType(), array_unnest_support(), arraycontsel(), assign_param_for_placeholdervar(), assign_param_for_var(), assign_query_collations_walker(), ATColumnChangeRequiresRewrite(), ATExecAddConstraint(), ATExecAddIndex(), ATExecAddIndexConstraint(), ATExecAddStatistics(), ATExecSetCompression(), ATExecSetStatistics(), ATExecSetStorage(), ATPostAlterTypeParse(), BeginCopyTo(), 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_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_ext(), clauselist_selectivity_ext(), 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_exec_param_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(), conversion_error_callback(), convert_combining_aggrefs(), convert_EXISTS_to_ANY(), convert_saop_to_hashed_saop_walker(), 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(), create_projection_path(), createdb(), CreateStatistics(), crosstab(), crosstab_hash(), currtid_for_view(), deconstruct_jointree(), deconstruct_recurse(), defGetStringList(), DefineDomain(), DefineView(), deflist_to_tuplestore(), deparseSortGroupClause(), deparseSubscriptingRef(), dependency_is_compatible_clause(), dependency_is_compatible_expression(), determineRecursiveColTypes(), distribute_row_identity_vars(), 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_opclause_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(), ExecAsyncAppendResponse(), 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_matching_expr(), 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_modifytable_subplan(), find_nonnullable_rels_walker(), find_nonnullable_vars_walker(), find_param_referent(), find_placeholders_in_expr(), find_placeholders_in_jointree(), find_placeholders_recurse(), find_recursive_union(), find_single_rel_for_clauses(), find_var_for_subquery_tle(), find_window_functions_walker(), findDefaultOnlyColumns(), 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(), fmgr_sql_validator(), 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_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_func_sql_syntax(), 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_tupdesc_for_join_scan_tuples(), 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(), gist_page_items(), gist_page_items_bytea(), 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_expression_changed_walker(), index_other_operands_eval_cost(), infer_arbiter_indexes(), infer_collation_opclass_match(), init_execution_state(), init_MultiFuncCall(), init_returning_filter(), init_sql_fcache(), inline_cte_walker(), inline_function(), inline_set_returning_function(), internal_get_result_type(), interpret_AS_clause(), interval_support(), is_andclause(), is_dummy_rel(), is_exprlist_member(), 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(), IsBinaryTidClause(), IsCurrentOfClause(), isQueryUsingTempRelation_walker(), isSimpleNode(), IsTidEqualAnyClause(), IsTransactionExitStmt(), IsTransactionStmtList(), jointree_contains_lateral_outer_refs(), JumbleQueryInternal(), 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_callstmt_target(), 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(), mcv_match_expression(), MJExamineQuals(), MultiExecBitmapAnd(), MultiExecBitmapOr(), multirangesel(), NameListToString(), network_subset_support(), networksel(), nulltestsel(), numeric_support(), OffsetVarNodes(), OffsetVarNodes_walker(), 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_backend_memory_contexts(), 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(), plan_set_operations(), plan_union_children(), PlannedStmtRequiresSnapshot(), plperl_func_handler(), plpgsql_call_handler(), plpgsql_exec_function(), plpython_call_handler(), pltcl_func_handler(), PLy_exec_function(), populate_recordset_worker(), PortalRunMulti(), postgres_fdw_get_connections(), postgresGetForeignPlan(), predicate_classify(), predicate_implied_by_recurse(), predicate_implied_by_simple_clause(), predicate_refuted_by_recurse(), predicate_refuted_by_simple_clause(), preprocess_aggrefs_walker(), preprocess_limit(), preprocess_minmax_aggregates(), preprocess_qual_conditions(), preprocess_targetlist(), prepTuplestoreResult(), print_expr(), print_function_sqlbody(), 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(), 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_plan_refs(), 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(), text_to_table(), TidExprListCreate(), time_support(), timestamp_support(), tlist_matches_tupdesc(), 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(), transformPLAssignStmt(), transformRangeFunction(), transformRangeSubselect(), transformRangeTableFunc(), transformSetOperationStmt(), transformSetOperationTree(), transformSubLink(), transformTargetEntry(), transformTargetList(), transformTypeCast(), transformWithClause(), transformXmlExpr(), translate_sub_tlist(), trivial_subqueryscan(), tsmatchsel(), typenameTypeMod(), unknown_attribute(), use_physical_tlist(), varbit_support(), varchar_support(), verify_heapam(), 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 585 of file nodes.h.

Referenced by _copyA_ArrayExpr(), _copyA_Const(), _copyA_Expr(), _copyA_Indices(), _copyA_Indirection(), _copyA_Star(), _copyAccessPriv(), _copyAgg(), _copyAggref(), _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(), _copyBitmapAnd(), _copyBitmapHeapScan(), _copyBitmapIndexScan(), _copyBitmapOr(), _copyBitString(), _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(), _copyCTECycleClause(), _copyCteScan(), _copyCTESearchClause(), _copyCurrentOfExpr(), _copyCustomScan(), _copyDeallocateStmt(), _copyDeclareCursorStmt(), _copyDefElem(), _copyDefineStmt(), _copyDeleteStmt(), _copyDiscardStmt(), _copyDistinctExpr(), _copyDoStmt(), _copyDropdbStmt(), _copyDropOwnedStmt(), _copyDropRoleStmt(), _copyDropStmt(), _copyDropSubscriptionStmt(), _copyDropTableSpaceStmt(), _copyDropUserMappingStmt(), _copyExecuteStmt(), _copyExplainStmt(), _copyFetchStmt(), _copyFieldSelect(), _copyFieldStore(), _copyFloat(), _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(), _copyInteger(), _copyIntoClause(), _copyJoin(), _copyJoinExpr(), _copyLimit(), _copyListenStmt(), _copyLoadStmt(), _copyLockingClause(), _copyLockRows(), _copyLockStmt(), _copyMaterial(), _copyMemoize(), _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(), _copyPLAssignStmt(), _copyPrepareStmt(), _copyProjectSet(), _copyPublicationTable(), _copyQuery(), _copyRangeFunction(), _copyRangeSubselect(), _copyRangeTableFunc(), _copyRangeTableFuncCol(), _copyRangeTableSample(), _copyRangeTblEntry(), _copyRangeTblFunction(), _copyRangeTblRef(), _copyRangeVar(), _copyRawStmt(), _copyReassignOwnedStmt(), _copyRecursiveUnion(), _copyRefreshMatViewStmt(), _copyReindexStmt(), _copyRelabelType(), _copyRenameStmt(), _copyReplicaIdentityStmt(), _copyResTarget(), _copyRestrictInfo(), _copyResult(), _copyReturnStmt(), _copyRoleSpec(), _copyRowCompareExpr(), _copyRowExpr(), _copyRowMarkClause(), _copyRuleStmt(), _copySampleScan(), _copyScalarArrayOpExpr(), _copyScan(), _copySecLabelStmt(), _copySelectStmt(), _copySeqScan(), _copySetOp(), _copySetOperationStmt(), _copySetToDefault(), _copySort(), _copySortBy(), _copySortGroupClause(), _copySpecialJoinInfo(), _copySQLValueFunction(), _copyStatsElem(), _copyString(), _copySubLink(), _copySubPlan(), _copySubqueryScan(), _copySubscriptingRef(), _copyTableFunc(), _copyTableFuncScan(), _copyTableLikeClause(), _copyTableSampleClause(), _copyTargetEntry(), _copyTidRangeScan(), _copyTidScan(), _copyTransactionStmt(), _copyTriggerTransition(), _copyTruncateStmt(), _copyTypeCast(), _copyTypeName(), _copyUnique(), _copyUnlistenStmt(), _copyUpdateStmt(), _copyVacuumRelation(), _copyVacuumStmt(), _copyValuesScan(), _copyVar(), _copyVariableSetStmt(), _copyVariableShowStmt(), _copyViewStmt(), _copyWindowAgg(), _copyWindowClause(), _copyWindowDef(), _copyWindowFunc(), _copyWithCheckOption(), _copyWithClause(), _copyWorkTableScan(), _copyXmlExpr(), _copyXmlSerialize(), add_eq_member(), add_row_identity_var(), add_with_check_options(), AddInvertedQual(), addNSItemToQuery(), addRangeTableEntry(), addRangeTableEntryForCTE(), addRangeTableEntryForENR(), addRangeTableEntryForFunction(), addRangeTableEntryForJoin(), addRangeTableEntryForRelation(), addRangeTableEntryForSubquery(), addRangeTableEntryForTableFunc(), addRangeTableEntryForValues(), addTargetToGroupList(), addTargetToSortList(), adjust_appendrel_attrs_mutator(), AlterTableMoveAll(), apply_handle_tuple_routing(), applyLockingClause(), applyRelabelType(), assign_param_for_placeholdervar(), assign_param_for_var(), ATExecAddColumn(), 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(), can_minmax_aggs(), 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_edata_for_relation(), create_empty_pathtarget(), 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_memoize_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_tidrangescan_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(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), dihandler(), DoCopy(), domainAddConstraint(), eval_const_expressions_mutator(), evaluate_function(), ExecBuildAggTrans(), ExecBuildGroupingEqual(), ExecBuildParamSetEqual(), ExecBuildProjectionInfo(), ExecBuildUpdateProjection(), ExecGetTriggerResultRel(), ExecInitAgg(), 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(), ExecInitMemoize(), ExecInitMergeAppend(), ExecInitMergeJoin(), ExecInitModifyTable(), ExecInitNamedTuplestoreScan(), ExecInitNestLoop(), ExecInitPartitionDispatchInfo(), ExecInitPartitionInfo(), ExecInitProjectSet(), ExecInitQual(), ExecInitRecursiveUnion(), ExecInitResult(), ExecInitSampleScan(), ExecInitSeqScan(), ExecInitSetOp(), ExecInitSort(), ExecInitSubPlan(), ExecInitSubqueryScan(), ExecInitTableFuncScan(), ExecInitTableFunctionResult(), ExecInitTidRangeScan(), ExecInitTidScan(), ExecInitUnique(), ExecInitValuesScan(), ExecInitWindowAgg(), ExecInitWorkTableScan(), ExecSerializePlan(), ExecuteCallStmt(), ExecuteDoStmt(), expand_indexqual_rowcompare(), expand_single_inheritance_child(), ExpandRowReference(), expandTableLikeClause(), fetch_upper_rel(), file_fdw_handler(), 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(), init_execution_state(), inline_function(), 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_memoize(), 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_path_cat_expr(), make_path_initial_array(), make_path_rowexpr(), 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_tidrangescan(), 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(), makeSortGroupClauseForSetOp(), 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(), rewriteSearchAndCycle(), 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(), transformPLAssignStmt(), transformRangeTableFunc(), transformRangeTableSample(), transformReturnStmt(), transformRowExpr(), transformRuleStmt(), transformSelectStmt(), transformSetOperationStmt(), transformSetOperationTree(), transformStmt(), transformSubLink(), transformTableLikeClause(), transformUpdateStmt(), transformValuesClause(), transformWholeRowRef(), 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:537
#define palloc0fast(sz)
Definition: palloc.h:91
PGDLLIMPORT Node * newNodeMacroHolder
Definition: nodes.c:31

Definition at line 575 of file nodes.h.

Referenced by _copyExtensibleNode(), and _readExtensibleNode().

◆ NodeSetTag

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

Definition at line 586 of file nodes.h.

Referenced by make_distinct_op(), and transformAExprNullIf().

◆ nodeTag

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

Definition at line 542 of file nodes.h.

Referenced by _copyA_Const(), _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(), ExecAsyncConfigureWait(), ExecAsyncNotify(), ExecAsyncRequest(), ExecAsyncResponse(), ExecEndNode(), ExecIndexBuildScanKeys(), ExecInitExprRec(), ExecInitFunctionResultSet(), ExecInitNode(), ExecInitSubPlan(), ExecInitWholeRowVar(), ExecMarkPos(), ExecParallelEstimate(), ExecParallelInitializeDSM(), ExecParallelInitializeWorker(), ExecParallelReInitializeDSM(), ExecParallelRetrieveInstrumentation(), ExecReScan(), ExecRestrPos(), ExecScanReScan(), 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_async_capable_path(), 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

◆ Cardinality

typedef double Cardinality

Definition at line 672 of file nodes.h.

◆ CmdType

typedef enum CmdType CmdType

◆ Cost

typedef double Cost

Definition at line 671 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 670 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 789 of file nodes.h.

790 {
791  /* Basic, non-split aggregation: */
792  AGGSPLIT_SIMPLE = 0,
793  /* Initial phase of partial aggregation, with serialization: */
795  /* Final phase of partial aggregation, with deserialization: */
797 } AggSplit;
#define AGGSPLITOP_DESERIALIZE
Definition: nodes.h:786
#define AGGSPLITOP_COMBINE
Definition: nodes.h:783
#define AGGSPLITOP_SERIALIZE
Definition: nodes.h:785
AggSplit
Definition: nodes.h:789
#define AGGSPLITOP_SKIPFINAL
Definition: nodes.h:784

◆ AggStrategy

Enumerator
AGG_PLAIN 
AGG_SORTED 
AGG_HASHED 
AGG_MIXED 

Definition at line 767 of file nodes.h.

768 {
769  AGG_PLAIN, /* simple agg across all input rows */
770  AGG_SORTED, /* grouped agg, input must be sorted */
771  AGG_HASHED, /* grouped agg, use internal hashtable */
772  AGG_MIXED /* grouped agg, hash and sort both used */
773 } AggStrategy;
AggStrategy
Definition: nodes.h:767

◆ CmdType

enum CmdType
Enumerator
CMD_UNKNOWN 
CMD_SELECT 
CMD_UPDATE 
CMD_INSERT 
CMD_DELETE 
CMD_UTILITY 
CMD_NOTHING 

Definition at line 681 of file nodes.h.

682 {
683  CMD_UNKNOWN,
684  CMD_SELECT, /* select stmt */
685  CMD_UPDATE, /* update stmt */
686  CMD_INSERT, /* insert stmt */
687  CMD_DELETE,
688  CMD_UTILITY, /* cmds like create, destroy, copy, vacuum,
689  * etc. */
690  CMD_NOTHING /* dummy command for instead nothing rules
691  * with qual */
692 } CmdType;
CmdType
Definition: nodes.h:681

◆ 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 705 of file nodes.h.

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

◆ LimitOption

Enumerator
LIMIT_OPTION_COUNT 
LIMIT_OPTION_WITH_TIES 
LIMIT_OPTION_DEFAULT 

Definition at line 844 of file nodes.h.

845 {
846  LIMIT_OPTION_COUNT, /* FETCH FIRST... ONLY */
847  LIMIT_OPTION_WITH_TIES, /* FETCH FIRST... WITH TIES */
848  LIMIT_OPTION_DEFAULT, /* No limit present */
849 } LimitOption;
LimitOption
Definition: nodes.h:844

◆ 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_TidRangeScan 
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_Memoize 
T_Sort 
T_IncrementalSort 
T_Group 
T_Agg 
T_WindowAgg 
T_Unique 
T_Gather 
T_GatherMerge 
T_Hash 
T_SetOp 
T_LockRows 
T_Limit 
T_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_TidRangeScanState 
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_MemoizeState 
T_SortState 
T_IncrementalSortState 
T_GroupState 
T_AggState 
T_WindowAggState 
T_UniqueState 
T_GatherState 
T_GatherMergeState 
T_HashState 
T_SetOpState 
T_LockRowsState 
T_LimitState 
T_Alias 
T_RangeVar 
T_TableFunc 
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_WindowFuncExprState 
T_SetExprState 
T_SubPlanState 
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_TidRangePath 
T_SubqueryScanPath 
T_ForeignPath 
T_CustomPath 
T_NestPath 
T_MergePath 
T_HashPath 
T_AppendPath 
T_MergeAppendPath 
T_GroupResultPath 
T_MaterialPath 
T_MemoizePath 
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_RowIdentityVarInfo 
T_PlaceHolderInfo 
T_MinMaxAggInfo 
T_PlannerParamItem 
T_RollupData 
T_GroupingSetData 
T_StatisticExtInfo 
T_AllocSetContext 
T_SlabContext 
T_GenerationContext 
T_Integer 
T_Float 
T_String 
T_BitString 
T_List 
T_IntList 
T_OidList 
T_ExtensibleNode 
T_RawStmt 
T_Query 
T_PlannedStmt 
T_InsertStmt 
T_DeleteStmt 
T_UpdateStmt 
T_SelectStmt 
T_ReturnStmt 
T_PLAssignStmt 
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_StatsElem 
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_CTESearchClause 
T_CTECycleClause 
T_CommonTableExpr 
T_RoleSpec 
T_TriggerTransition 
T_PartitionElem 
T_PartitionSpec 
T_PartitionBoundSpec 
T_PartitionRangeDatum 
T_PartitionCmd 
T_VacuumRelation 
T_PublicationTable 
T_IdentifySystemCmd 
T_BaseBackupCmd 
T_CreateReplicationSlotCmd 
T_DropReplicationSlotCmd 
T_ReadReplicationSlotCmd 
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,
67  T_CteScan,
72  T_Join,
73  T_NestLoop,
75  T_HashJoin,
76  T_Material,
77  T_Memoize,
78  T_Sort,
80  T_Group,
81  T_Agg,
83  T_Unique,
84  T_Gather,
86  T_Hash,
87  T_SetOp,
88  T_LockRows,
89  T_Limit,
90  /* these aren't subclasses of Plan: */
98 
99  /*
100  * TAGS FOR PLAN STATE NODES (execnodes.h)
101  *
102  * These should correspond one-to-one with Plan node types.
103  */
104  T_PlanState,
113  T_ScanState,
131  T_JoinState,
137  T_SortState,
139  T_GroupState,
140  T_AggState,
145  T_HashState,
146  T_SetOpState,
148  T_LimitState,
149 
150  /*
151  * TAGS FOR PRIMITIVE NODES (primnodes.h)
152  */
153  T_Alias,
154  T_RangeVar,
155  T_TableFunc,
156  T_Var,
157  T_Const,
158  T_Param,
159  T_Aggref,
161  T_WindowFunc,
163  T_FuncExpr,
165  T_OpExpr,
167  T_NullIfExpr,
169  T_BoolExpr,
170  T_SubLink,
171  T_SubPlan,
174  T_FieldStore,
180  T_CaseExpr,
181  T_CaseWhen,
183  T_ArrayExpr,
184  T_RowExpr,
187  T_MinMaxExpr,
189  T_XmlExpr,
190  T_NullTest,
200  T_JoinExpr,
201  T_FromExpr,
203  T_IntoClause,
204 
205  /*
206  * TAGS FOR EXPRESSION STATE NODES (execnodes.h)
207  *
208  * ExprState represents the evaluation state for a whole expression tree.
209  * Most Expr-based plan nodes do not have a corresponding expression state
210  * node, they're fully handled within execExpr* - but sometimes the state
211  * needs to be shared with other parts of the executor, as for example
212  * with SubPlanState, which nodeSubplan.c has to modify.
213  */
214  T_ExprState,
219 
220  /*
221  * TAGS FOR PLANNER NODES (pathnodes.h)
222  */
225  T_RelOptInfo,
229  T_Path,
230  T_IndexPath,
234  T_TidPath,
238  T_CustomPath,
239  T_NestPath,
240  T_MergePath,
241  T_HashPath,
242  T_AppendPath,
247  T_UniquePath,
248  T_GatherPath,
252  T_SortPath,
254  T_GroupPath,
256  T_AggPath,
260  T_SetOpPath,
264  T_LimitPath,
265  /* these aren't subclasses of Path: */
268  T_PathKey,
269  T_PathTarget,
279  T_RollupData,
282 
283  /*
284  * TAGS FOR MEMORY NODES (memnodes.h)
285  */
289 
290  /*
291  * TAGS FOR VALUE NODES (value.h)
292  */
293  T_Integer,
294  T_Float,
295  T_String,
296  T_BitString,
297 
298  /*
299  * TAGS FOR LIST NODES (pg_list.h)
300  */
301  T_List,
302  T_IntList,
303  T_OidList,
304 
305  /*
306  * TAGS FOR EXTENSIBLE NODES (extensible.h)
307  */
309 
310  /*
311  * TAGS FOR STATEMENT NODES (mostly in parsenodes.h)
312  */
313  T_RawStmt,
314  T_Query,
316  T_InsertStmt,
317  T_DeleteStmt,
318  T_UpdateStmt,
319  T_SelectStmt,
320  T_ReturnStmt,
326  T_GrantStmt,
331  T_CopyStmt,
332  T_CreateStmt,
333  T_DefineStmt,
334  T_DropStmt,
337  T_FetchStmt,
338  T_IndexStmt,
341  T_DoStmt,
342  T_RenameStmt,
343  T_RuleStmt,
344  T_NotifyStmt,
345  T_ListenStmt,
348  T_ViewStmt,
349  T_LoadStmt,
352  T_DropdbStmt,
353  T_VacuumStmt,
366  T_LockStmt,
429  T_CallStmt,
431 
432  /*
433  * TAGS FOR PARSE TREE NODES (parsenodes.h)
434  */
435  T_A_Expr,
436  T_ColumnRef,
437  T_ParamRef,
438  T_A_Const,
439  T_FuncCall,
440  T_A_Star,
441  T_A_Indices,
444  T_ResTarget,
446  T_TypeCast,
448  T_SortBy,
449  T_WindowDef,
455  T_TypeName,
456  T_ColumnDef,
457  T_IndexElem,
458  T_StatsElem,
459  T_Constraint,
460  T_DefElem,
469  T_AccessPriv,
476  T_WithClause,
482  T_RoleSpec,
491 
492  /*
493  * TAGS FOR REPLICATION GRAMMAR PARSE NODES (replnodes.h)
494  */
502  T_SQLCmd,
503 
504  /*
505  * TAGS FOR RANDOM OTHER STUFF
506  *
507  * These are objects that aren't part of parse/plan/execute node tree
508  * structures, but we give them NodeTags anyway for identification
509  * purposes (usually because they are involved in APIs where we want to
510  * pass multiple object types through the same pointer).
511  */
512  T_TriggerData, /* in commands/trigger.h */
513  T_EventTriggerData, /* in commands/event_trigger.h */
514  T_ReturnSetInfo, /* in nodes/execnodes.h */
515  T_WindowObjectData, /* private in nodeWindowAgg.c */
516  T_TIDBitmap, /* in nodes/tidbitmap.h */
517  T_InlineCodeBlock, /* in nodes/parsenodes.h */
518  T_FdwRoutine, /* in foreign/fdwapi.h */
519  T_IndexAmRoutine, /* in access/amapi.h */
520  T_TableAmRoutine, /* in access/tableam.h */
521  T_TsmRoutine, /* in access/tsmapi.h */
522  T_ForeignKeyCacheInfo, /* in utils/rel.h */
523  T_CallContext, /* in nodes/parsenodes.h */
524  T_SupportRequestSimplify, /* in nodes/supportnodes.h */
525  T_SupportRequestSelectivity, /* in nodes/supportnodes.h */
526  T_SupportRequestCost, /* in nodes/supportnodes.h */
527  T_SupportRequestRows, /* in nodes/supportnodes.h */
528  T_SupportRequestIndexCondition /* in nodes/supportnodes.h */
529 } NodeTag;
Definition: nodes.h:81
Definition: nodes.h:83
Definition: nodes.h:54
Definition: nodes.h:49
Definition: nodes.h:78
NodeTag
Definition: nodes.h:26
Definition: nodes.h:46
Definition: nodes.h:80
Definition: nodes.h:153
Definition: nodes.h:301
Definition: nodes.h:157
Definition: nodes.h:156
Definition: nodes.h:314
Definition: nodes.h:86
Definition: nodes.h:45
Definition: nodes.h:72
Definition: nodes.h:87
Definition: nodes.h:294
Definition: nodes.h:84
Definition: nodes.h:229
Definition: nodes.h:39
Definition: nodes.h:158
Definition: nodes.h:89

◆ OnConflictAction

Enumerator
ONCONFLICT_NONE 
ONCONFLICT_NOTHING 
ONCONFLICT_UPDATE 

Definition at line 831 of file nodes.h.

832 {
833  ONCONFLICT_NONE, /* No "ON CONFLICT" clause */
834  ONCONFLICT_NOTHING, /* ON CONFLICT ... DO NOTHING */
835  ONCONFLICT_UPDATE /* ON CONFLICT ... DO UPDATE */
OnConflictAction
Definition: nodes.h:831

◆ SetOpCmd

enum SetOpCmd
Enumerator
SETOPCMD_INTERSECT 
SETOPCMD_INTERSECT_ALL 
SETOPCMD_EXCEPT 
SETOPCMD_EXCEPT_ALL 

Definition at line 811 of file nodes.h.

◆ SetOpStrategy

Enumerator
SETOP_SORTED 
SETOP_HASHED 

Definition at line 819 of file nodes.h.

820 {
821  SETOP_SORTED, /* input must be sorted */
822  SETOP_HASHED /* use internal hashtable */
823 } SetOpStrategy;
SetOpStrategy
Definition: nodes.h:819

Function Documentation

◆ bmsToString()

char* bmsToString ( const struct Bitmapset bms)

◆ copyObjectImpl()

void* copyObjectImpl ( const void *  obj)

Definition at line 4978 of file copyfuncs.c.

References _copyA_ArrayExpr(), _copyA_Const(), _copyA_Expr(), _copyA_Indices(), _copyA_Indirection(), _copyA_Star(), _copyAccessPriv(), _copyAgg(), _copyAggref(), _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(), _copyBitmapAnd(), _copyBitmapHeapScan(), _copyBitmapIndexScan(), _copyBitmapOr(), _copyBitString(), _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(), _copyCTECycleClause(), _copyCteScan(), _copyCTESearchClause(), _copyCurrentOfExpr(), _copyCustomScan(), _copyDeallocateStmt(), _copyDeclareCursorStmt(), _copyDefElem(), _copyDefineStmt(), _copyDeleteStmt(), _copyDiscardStmt(), _copyDistinctExpr(), _copyDoStmt(), _copyDropdbStmt(), _copyDropOwnedStmt(), _copyDropRoleStmt(), _copyDropStmt(), _copyDropSubscriptionStmt(), _copyDropTableSpaceStmt(), _copyDropUserMappingStmt(), _copyExecuteStmt(), _copyExplainStmt(), _copyExtensibleNode(), _copyFetchStmt(), _copyFieldSelect(), _copyFieldStore(), _copyFloat(), _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(), _copyInteger(), _copyIntoClause(), _copyJoin(), _copyJoinExpr(), _copyLimit(), _copyListenStmt(), _copyLoadStmt(), _copyLockingClause(), _copyLockRows(), _copyLockStmt(), _copyMaterial(), _copyMemoize(), _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(), _copyPLAssignStmt(), _copyPrepareStmt(), _copyProjectSet(), _copyPublicationTable(), _copyQuery(), _copyRangeFunction(), _copyRangeSubselect(), _copyRangeTableFunc(), _copyRangeTableFuncCol(), _copyRangeTableSample(), _copyRangeTblEntry(), _copyRangeTblFunction(), _copyRangeTblRef(), _copyRangeVar(), _copyRawStmt(), _copyReassignOwnedStmt(), _copyRecursiveUnion(), _copyRefreshMatViewStmt(), _copyReindexStmt(), _copyRelabelType(), _copyRenameStmt(), _copyReplicaIdentityStmt(), _copyResTarget(), _copyRestrictInfo(), _copyResult(), _copyReturnStmt(), _copyRoleSpec(), _copyRowCompareExpr(), _copyRowExpr(), _copyRowMarkClause(), _copyRuleStmt(), _copySampleScan(), _copyScalarArrayOpExpr(), _copyScan(), _copySecLabelStmt(), _copySelectStmt(), _copySeqScan(), _copySetOp(), _copySetOperationStmt(), _copySetToDefault(), _copySort(), _copySortBy(), _copySortGroupClause(), _copySpecialJoinInfo(), _copySQLValueFunction(), _copyStatsElem(), _copyString(), _copySubLink(), _copySubPlan(), _copySubqueryScan(), _copySubscriptingRef(), _copyTableFunc(), _copyTableFuncScan(), _copyTableLikeClause(), _copyTableSampleClause(), _copyTargetEntry(), _copyTidRangeScan(), _copyTidScan(), _copyTransactionStmt(), _copyTriggerTransition(), _copyTruncateStmt(), _copyTypeCast(), _copyTypeName(), _copyUnique(), _copyUnlistenStmt(), _copyUpdateStmt(), _copyVacuumRelation(), _copyVacuumStmt(), _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_CTECycleClause, T_CteScan, T_CTESearchClause, 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_Memoize, T_MergeAppend, T_MergeJoin, T_MinMaxExpr, T_ModifyTable, T_MultiAssignRef, T_NamedArgExpr, T_NamedTuplestoreScan, T_NestLoop, T_NestLoopParam, T_NextValueExpr, T_NotifyStmt, 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_PLAssignStmt, T_PrepareStmt, T_ProjectSet, T_PublicationTable, 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_ReturnStmt, 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_StatsElem, T_String, T_SubLink, T_SubPlan, T_SubqueryScan, T_SubscriptingRef, T_TableFunc, T_TableFuncScan, T_TableLikeClause, T_TableSampleClause, T_TargetEntry, T_TidRangeScan, 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().

4979 {
4980  void *retval;
4981 
4982  if (from == NULL)
4983  return NULL;
4984 
4985  /* Guard against stack overflow due to overly complex expressions */
4987 
4988  switch (nodeTag(from))
4989  {
4990  /*
4991  * PLAN NODES
4992  */
4993  case T_PlannedStmt:
4994  retval = _copyPlannedStmt(from);
4995  break;
4996  case T_Plan:
4997  retval = _copyPlan(from);
4998  break;
4999  case T_Result:
5000  retval = _copyResult(from);
5001  break;
5002  case T_ProjectSet:
5003  retval = _copyProjectSet(from);
5004  break;
5005  case T_ModifyTable:
5006  retval = _copyModifyTable(from);
5007  break;
5008  case T_Append:
5009  retval = _copyAppend(from);
5010  break;
5011  case T_MergeAppend:
5012  retval = _copyMergeAppend(from);
5013  break;
5014  case T_RecursiveUnion:
5015  retval = _copyRecursiveUnion(from);
5016  break;
5017  case T_BitmapAnd:
5018  retval = _copyBitmapAnd(from);
5019  break;
5020  case T_BitmapOr:
5021  retval = _copyBitmapOr(from);
5022  break;
5023  case T_Scan:
5024  retval = _copyScan(from);
5025  break;
5026  case T_Gather:
5027  retval = _copyGather(from);
5028  break;
5029  case T_GatherMerge:
5030  retval = _copyGatherMerge(from);
5031  break;
5032  case T_SeqScan:
5033  retval = _copySeqScan(from);
5034  break;
5035  case T_SampleScan:
5036  retval = _copySampleScan(from);
5037  break;
5038  case T_IndexScan:
5039  retval = _copyIndexScan(from);
5040  break;
5041  case T_IndexOnlyScan:
5042  retval = _copyIndexOnlyScan(from);
5043  break;
5044  case T_BitmapIndexScan:
5045  retval = _copyBitmapIndexScan(from);
5046  break;
5047  case T_BitmapHeapScan:
5048  retval = _copyBitmapHeapScan(from);
5049  break;
5050  case T_TidScan:
5051  retval = _copyTidScan(from);
5052  break;
5053  case T_TidRangeScan:
5054  retval = _copyTidRangeScan(from);
5055  break;
5056  case T_SubqueryScan:
5057  retval = _copySubqueryScan(from);
5058  break;
5059  case T_FunctionScan:
5060  retval = _copyFunctionScan(from);
5061  break;
5062  case T_TableFuncScan:
5063  retval = _copyTableFuncScan(from);
5064  break;
5065  case T_ValuesScan:
5066  retval = _copyValuesScan(from);
5067  break;
5068  case T_CteScan:
5069  retval = _copyCteScan(from);
5070  break;
5071  case T_NamedTuplestoreScan:
5072  retval = _copyNamedTuplestoreScan(from);
5073  break;
5074  case T_WorkTableScan:
5075  retval = _copyWorkTableScan(from);
5076  break;
5077  case T_ForeignScan:
5078  retval = _copyForeignScan(from);
5079  break;
5080  case T_CustomScan:
5081  retval = _copyCustomScan(from);
5082  break;
5083  case T_Join:
5084  retval = _copyJoin(from);
5085  break;
5086  case T_NestLoop:
5087  retval = _copyNestLoop(from);
5088  break;
5089  case T_MergeJoin:
5090  retval = _copyMergeJoin(from);
5091  break;
5092  case T_HashJoin:
5093  retval = _copyHashJoin(from);
5094  break;
5095  case T_Material:
5096  retval = _copyMaterial(from);
5097  break;
5098  case T_Memoize:
5099  retval = _copyMemoize(from);
5100  break;
5101  case T_Sort:
5102  retval = _copySort(from);
5103  break;
5104  case T_IncrementalSort:
5105  retval = _copyIncrementalSort(from);
5106  break;
5107  case T_Group:
5108  retval = _copyGroup(from);
5109  break;
5110  case T_Agg:
5111  retval = _copyAgg(from);
5112  break;
5113  case T_WindowAgg:
5114  retval = _copyWindowAgg(from);
5115  break;
5116  case T_Unique:
5117  retval = _copyUnique(from);
5118  break;
5119  case T_Hash:
5120  retval = _copyHash(from);
5121  break;
5122  case T_SetOp:
5123  retval = _copySetOp(from);
5124  break;
5125  case T_LockRows:
5126  retval = _copyLockRows(from);
5127  break;
5128  case T_Limit:
5129  retval = _copyLimit(from);
5130  break;
5131  case T_NestLoopParam:
5132  retval = _copyNestLoopParam(from);
5133  break;
5134  case T_PlanRowMark:
5135  retval = _copyPlanRowMark(from);
5136  break;
5137  case T_PartitionPruneInfo:
5138  retval = _copyPartitionPruneInfo(from);
5139  break;
5141  retval = _copyPartitionedRelPruneInfo(from);
5142  break;
5144  retval = _copyPartitionPruneStepOp(from);
5145  break;
5147  retval = _copyPartitionPruneStepCombine(from);
5148  break;
5149  case T_PlanInvalItem:
5150  retval = _copyPlanInvalItem(from);
5151  break;
5152 
5153  /*
5154  * PRIMITIVE NODES
5155  */
5156  case T_Alias:
5157  retval = _copyAlias(from);
5158  break;
5159  case T_RangeVar:
5160  retval = _copyRangeVar(from);
5161  break;
5162  case T_TableFunc:
5163  retval = _copyTableFunc(from);
5164  break;
5165  case T_IntoClause:
5166  retval = _copyIntoClause(from);
5167  break;
5168  case T_Var:
5169  retval = _copyVar(from);
5170  break;
5171  case T_Const:
5172  retval = _copyConst(from);
5173  break;
5174  case T_Param:
5175  retval = _copyParam(from);
5176  break;
5177  case T_Aggref:
5178  retval = _copyAggref(from);
5179  break;
5180  case T_GroupingFunc:
5181  retval = _copyGroupingFunc(from);
5182  break;
5183  case T_WindowFunc:
5184  retval = _copyWindowFunc(from);
5185  break;
5186  case T_SubscriptingRef:
5187  retval = _copySubscriptingRef(from);
5188  break;
5189  case T_FuncExpr:
5190  retval = _copyFuncExpr(from);
5191  break;
5192  case T_NamedArgExpr:
5193  retval = _copyNamedArgExpr(from);
5194  break;
5195  case T_OpExpr:
5196  retval = _copyOpExpr(from);
5197  break;
5198  case T_DistinctExpr:
5199  retval = _copyDistinctExpr(from);
5200  break;
5201  case T_NullIfExpr:
5202  retval = _copyNullIfExpr(from);
5203  break;
5204  case T_ScalarArrayOpExpr:
5205  retval = _copyScalarArrayOpExpr(from);
5206  break;
5207  case T_BoolExpr:
5208  retval = _copyBoolExpr(from);
5209  break;
5210  case T_SubLink:
5211  retval = _copySubLink(from);
5212  break;
5213  case T_SubPlan:
5214  retval = _copySubPlan(from);
5215  break;
5216  case T_AlternativeSubPlan:
5217  retval = _copyAlternativeSubPlan(from);
5218  break;
5219  case T_FieldSelect:
5220  retval = _copyFieldSelect(from);
5221  break;
5222  case T_FieldStore:
5223  retval = _copyFieldStore(from);
5224  break;
5225  case T_RelabelType:
5226  retval = _copyRelabelType(from);
5227  break;
5228  case T_CoerceViaIO:
5229  retval = _copyCoerceViaIO(from);
5230  break;
5231  case T_ArrayCoerceExpr:
5232  retval = _copyArrayCoerceExpr(from);
5233  break;
5234  case T_ConvertRowtypeExpr:
5235  retval = _copyConvertRowtypeExpr(from);
5236  break;
5237  case T_CollateExpr:
5238  retval = _copyCollateExpr(from);
5239  break;
5240  case T_CaseExpr:
5241  retval = _copyCaseExpr(from);
5242  break;
5243  case T_CaseWhen:
5244  retval = _copyCaseWhen(from);
5245  break;
5246  case T_CaseTestExpr:
5247  retval = _copyCaseTestExpr(from);
5248  break;
5249  case T_ArrayExpr:
5250  retval = _copyArrayExpr(from);
5251  break;
5252  case T_RowExpr:
5253  retval = _copyRowExpr(from);
5254  break;
5255  case T_RowCompareExpr:
5256  retval = _copyRowCompareExpr(from);
5257  break;
5258  case T_CoalesceExpr:
5259  retval = _copyCoalesceExpr(from);
5260  break;
5261  case T_MinMaxExpr:
5262  retval = _copyMinMaxExpr(from);
5263  break;
5264  case T_SQLValueFunction:
5265  retval = _copySQLValueFunction(from);
5266  break;
5267  case T_XmlExpr:
5268  retval = _copyXmlExpr(from);
5269  break;
5270  case T_NullTest:
5271  retval = _copyNullTest(from);
5272  break;
5273  case T_BooleanTest:
5274  retval = _copyBooleanTest(from);
5275  break;
5276  case T_CoerceToDomain:
5277  retval = _copyCoerceToDomain(from);
5278  break;
5279  case T_CoerceToDomainValue:
5280  retval = _copyCoerceToDomainValue(from);
5281  break;
5282  case T_SetToDefault:
5283  retval = _copySetToDefault(from);
5284  break;
5285  case T_CurrentOfExpr:
5286  retval = _copyCurrentOfExpr(from);
5287  break;
5288  case T_NextValueExpr:
5289  retval = _copyNextValueExpr(from);
5290  break;
5291  case T_InferenceElem:
5292  retval = _copyInferenceElem(from);
5293  break;
5294  case T_TargetEntry:
5295  retval = _copyTargetEntry(from);
5296  break;
5297  case T_RangeTblRef:
5298  retval = _copyRangeTblRef(from);
5299  break;
5300  case T_JoinExpr:
5301  retval = _copyJoinExpr(from);
5302  break;
5303  case T_FromExpr:
5304  retval = _copyFromExpr(from);
5305  break;
5306  case T_OnConflictExpr:
5307  retval = _copyOnConflictExpr(from);
5308  break;
5309 
5310  /*
5311  * RELATION NODES
5312  */
5313  case T_PathKey:
5314  retval = _copyPathKey(from);
5315  break;
5316  case T_RestrictInfo:
5317  retval = _copyRestrictInfo(from);
5318  break;
5319  case T_PlaceHolderVar:
5320  retval = _copyPlaceHolderVar(from);
5321  break;
5322  case T_SpecialJoinInfo:
5323  retval = _copySpecialJoinInfo(from);
5324  break;
5325  case T_AppendRelInfo:
5326  retval = _copyAppendRelInfo(from);
5327  break;
5328  case T_PlaceHolderInfo:
5329  retval = _copyPlaceHolderInfo(from);
5330  break;
5331 
5332  /*
5333  * VALUE NODES
5334  */
5335  case T_Integer:
5336  retval = _copyInteger(from);
5337  break;
5338  case T_Float:
5339  retval = _copyFloat(from);
5340  break;
5341  case T_String:
5342  retval = _copyString(from);
5343  break;
5344  case T_BitString:
5345  retval = _copyBitString(from);
5346  break;
5347 
5348  /*
5349  * LIST NODES
5350  */
5351  case T_List:
5352  retval = list_copy_deep(from);
5353  break;
5354 
5355  /*
5356  * Lists of integers and OIDs don't need to be deep-copied, so we
5357  * perform a shallow copy via list_copy()
5358  */
5359  case T_IntList:
5360  case T_OidList:
5361  retval = list_copy(from);
5362  break;
5363 
5364  /*
5365  * EXTENSIBLE NODES
5366  */
5367  case T_ExtensibleNode:
5368  retval = _copyExtensibleNode(from);
5369  break;
5370 
5371  /*
5372  * PARSE NODES
5373  */
5374  case T_Query:
5375  retval = _copyQuery(from);
5376  break;
5377  case T_RawStmt:
5378  retval = _copyRawStmt(from);
5379  break;
5380  case T_InsertStmt:
5381  retval = _copyInsertStmt(from);
5382  break;
5383  case T_DeleteStmt:
5384  retval = _copyDeleteStmt(from);
5385  break;
5386  case T_UpdateStmt:
5387  retval = _copyUpdateStmt(from);
5388  break;
5389  case T_SelectStmt:
5390  retval = _copySelectStmt(from);
5391  break;
5392  case T_SetOperationStmt:
5393  retval = _copySetOperationStmt(from);
5394  break;
5395  case T_ReturnStmt:
5396  retval = _copyReturnStmt(from);
5397  break;
5398  case T_PLAssignStmt:
5399  retval = _copyPLAssignStmt(from);
5400  break;
5401  case T_AlterTableStmt:
5402  retval = _copyAlterTableStmt(from);
5403  break;
5404  case T_AlterTableCmd:
5405  retval = _copyAlterTableCmd(from);
5406  break;
5407  case T_AlterCollationStmt:
5408  retval = _copyAlterCollationStmt(from);
5409  break;
5410  case T_AlterDomainStmt:
5411  retval = _copyAlterDomainStmt(from);
5412  break;
5413  case T_GrantStmt:
5414  retval = _copyGrantStmt(from);
5415  break;
5416  case T_GrantRoleStmt:
5417  retval = _copyGrantRoleStmt(from);
5418  break;
5420  retval = _copyAlterDefaultPrivilegesStmt(from);
5421  break;
5422  case T_DeclareCursorStmt:
5423  retval = _copyDeclareCursorStmt(from);
5424  break;
5425  case T_ClosePortalStmt:
5426  retval = _copyClosePortalStmt(from);
5427  break;
5428  case T_CallStmt:
5429  retval = _copyCallStmt(from);
5430  break;
5431  case T_ClusterStmt:
5432  retval = _copyClusterStmt(from);
5433  break;
5434  case T_CopyStmt:
5435  retval = _copyCopyStmt(from);
5436  break;
5437  case T_CreateStmt:
5438  retval = _copyCreateStmt(from);
5439  break;
5440  case T_TableLikeClause:
5441  retval = _copyTableLikeClause(from);
5442  break;
5443  case T_DefineStmt:
5444  retval = _copyDefineStmt(from);
5445  break;
5446  case T_DropStmt:
5447  retval = _copyDropStmt(from);
5448  break;
5449  case T_TruncateStmt:
5450  retval = _copyTruncateStmt(from);
5451  break;
5452  case T_CommentStmt:
5453  retval = _copyCommentStmt(from);
5454  break;
5455  case T_SecLabelStmt:
5456  retval = _copySecLabelStmt(from);
5457  break;
5458  case T_FetchStmt:
5459  retval = _copyFetchStmt(from);
5460  break;
5461  case T_IndexStmt:
5462  retval = _copyIndexStmt(from);
5463  break;
5464  case T_CreateStatsStmt:
5465  retval = _copyCreateStatsStmt(from);
5466  break;
5467  case T_AlterStatsStmt:
5468  retval = _copyAlterStatsStmt(from);
5469  break;
5470  case T_CreateFunctionStmt:
5471  retval = _copyCreateFunctionStmt(from);
5472  break;
5473  case T_FunctionParameter:
5474  retval = _copyFunctionParameter(from);
5475  break;
5476  case T_AlterFunctionStmt:
5477  retval = _copyAlterFunctionStmt(from);
5478  break;
5479  case T_DoStmt:
5480  retval = _copyDoStmt(from);
5481  break;
5482  case T_RenameStmt:
5483  retval = _copyRenameStmt(from);
5484  break;
5486  retval = _copyAlterObjectDependsStmt(from);
5487  break;
5489  retval = _copyAlterObjectSchemaStmt(from);
5490  break;
5491  case T_AlterOwnerStmt:
5492  retval = _copyAlterOwnerStmt(from);
5493  break;
5494  case T_AlterOperatorStmt:
5495  retval = _copyAlterOperatorStmt(from);
5496  break;
5497  case T_AlterTypeStmt:
5498  retval = _copyAlterTypeStmt(from);
5499  break;
5500  case T_RuleStmt:
5501  retval = _copyRuleStmt(from);
5502  break;
5503  case T_NotifyStmt:
5504  retval = _copyNotifyStmt(from);
5505  break;
5506  case T_ListenStmt:
5507  retval = _copyListenStmt(from);
5508  break;
5509  case T_UnlistenStmt:
5510  retval = _copyUnlistenStmt(from);
5511  break;
5512  case T_TransactionStmt:
5513  retval = _copyTransactionStmt(from);
5514  break;
5515  case T_CompositeTypeStmt:
5516  retval = _copyCompositeTypeStmt(from);
5517  break;
5518  case T_CreateEnumStmt:
5519  retval = _copyCreateEnumStmt(from);
5520  break;
5521  case T_CreateRangeStmt:
5522  retval = _copyCreateRangeStmt(from);
5523  break;
5524  case T_AlterEnumStmt:
5525  retval = _copyAlterEnumStmt(from);
5526  break;
5527  case T_ViewStmt:
5528  retval = _copyViewStmt(from);
5529  break;
5530  case T_LoadStmt:
5531  retval = _copyLoadStmt(from);
5532  break;
5533  case T_CreateDomainStmt:
5534  retval = _copyCreateDomainStmt(from);
5535  break;
5536  case T_CreateOpClassStmt:
5537  retval = _copyCreateOpClassStmt(from);
5538  break;
5539  case T_CreateOpClassItem:
5540  retval = _copyCreateOpClassItem(from);
5541  break;
5542  case T_CreateOpFamilyStmt:
5543  retval = _copyCreateOpFamilyStmt(from);
5544  break;
5545  case T_AlterOpFamilyStmt:
5546  retval = _copyAlterOpFamilyStmt(from);
5547  break;
5548  case T_CreatedbStmt:
5549  retval = _copyCreatedbStmt(from);
5550  break;
5551  case T_AlterDatabaseStmt:
5552  retval = _copyAlterDatabaseStmt(from);
5553  break;
5555  retval = _copyAlterDatabaseSetStmt(from);
5556  break;
5557  case T_DropdbStmt:
5558  retval = _copyDropdbStmt(from);
5559  break;
5560  case T_VacuumStmt:
5561  retval = _copyVacuumStmt(from);
5562  break;
5563  case T_VacuumRelation:
5564  retval = _copyVacuumRelation(from);
5565  break;
5566  case T_ExplainStmt:
5567  retval = _copyExplainStmt(from);
5568  break;
5569  case T_CreateTableAsStmt:
5570  retval = _copyCreateTableAsStmt(from);
5571  break;
5572  case T_RefreshMatViewStmt:
5573  retval = _copyRefreshMatViewStmt(from);
5574  break;
5575  case T_ReplicaIdentityStmt:
5576  retval = _copyReplicaIdentityStmt(from);
5577  break;
5578  case T_AlterSystemStmt:
5579  retval = _copyAlterSystemStmt(from);
5580  break;
5581  case T_CreateSeqStmt:
5582  retval = _copyCreateSeqStmt(from);
5583  break;
5584  case T_AlterSeqStmt:
5585  retval = _copyAlterSeqStmt(from);
5586  break;
5587  case T_VariableSetStmt:
5588  retval = _copyVariableSetStmt(from);
5589  break;
5590  case T_VariableShowStmt:
5591  retval = _copyVariableShowStmt(from);
5592  break;
5593  case T_DiscardStmt:
5594  retval = _copyDiscardStmt(from);
5595  break;
5597  retval = _copyCreateTableSpaceStmt(from);
5598  break;
5599  case T_DropTableSpaceStmt:
5600  retval = _copyDropTableSpaceStmt(from);
5601  break;
5603  retval = _copyAlterTableSpaceOptionsStmt(from);
5604  break;
5606  retval = _copyAlterTableMoveAllStmt(from);
5607  break;
5608  case T_CreateExtensionStmt:
5609  retval = _copyCreateExtensionStmt(from);
5610  break;
5611  case T_AlterExtensionStmt:
5612  retval = _copyAlterExtensionStmt(from);
5613  break;
5615  retval = _copyAlterExtensionContentsStmt(from);
5616  break;
5617  case T_CreateFdwStmt:
5618  retval = _copyCreateFdwStmt(from);
5619  break;
5620  case T_AlterFdwStmt:
5621  retval = _copyAlterFdwStmt(from);
5622  break;
5624  retval = _copyCreateForeignServerStmt(from);
5625  break;
5627  retval = _copyAlterForeignServerStmt(from);
5628  break;
5630  retval = _copyCreateUserMappingStmt(from);
5631  break;
5633  retval = _copyAlterUserMappingStmt(from);
5634  break;
5635  case T_DropUserMappingStmt:
5636  retval = _copyDropUserMappingStmt(from);
5637  break;
5639  retval = _copyCreateForeignTableStmt(from);
5640  break;
5642  retval = _copyImportForeignSchemaStmt(from);
5643  break;
5644  case T_CreateTransformStmt:
5645  retval = _copyCreateTransformStmt(from);
5646  break;
5647  case T_CreateAmStmt:
5648  retval = _copyCreateAmStmt(from);
5649  break;
5650  case T_CreateTrigStmt:
5651  retval = _copyCreateTrigStmt(from);
5652  break;
5653  case T_CreateEventTrigStmt:
5654  retval = _copyCreateEventTrigStmt(from);
5655  break;
5656  case T_AlterEventTrigStmt:
5657  retval = _copyAlterEventTrigStmt(from);
5658  break;
5659  case T_CreatePLangStmt:
5660  retval = _copyCreatePLangStmt(from);
5661  break;
5662  case T_CreateRoleStmt:
5663  retval = _copyCreateRoleStmt(from);
5664  break;
5665  case T_AlterRoleStmt:
5666  retval = _copyAlterRoleStmt(from);
5667  break;
5668  case T_AlterRoleSetStmt:
5669  retval = _copyAlterRoleSetStmt(from);
5670  break;
5671  case T_DropRoleStmt:
5672  retval = _copyDropRoleStmt(from);
5673  break;
5674  case T_LockStmt:
5675  retval = _copyLockStmt(from);
5676  break;
5677  case T_ConstraintsSetStmt:
5678  retval = _copyConstraintsSetStmt(from);
5679  break;
5680  case T_ReindexStmt:
5681  retval = _copyReindexStmt(from);
5682  break;
5683  case T_CheckPointStmt:
5684  retval = (void *) makeNode(CheckPointStmt);
5685  break;
5686  case T_CreateSchemaStmt:
5687  retval = _copyCreateSchemaStmt(from);
5688  break;
5690  retval = _copyCreateConversionStmt(from);
5691  break;
5692  case T_CreateCastStmt:
5693  retval = _copyCreateCastStmt(from);
5694  break;
5695  case T_PrepareStmt:
5696  retval = _copyPrepareStmt(from);
5697  break;
5698  case T_ExecuteStmt:
5699  retval = _copyExecuteStmt(from);
5700  break;
5701  case T_DeallocateStmt:
5702  retval = _copyDeallocateStmt(from);
5703  break;
5704  case T_DropOwnedStmt:
5705  retval = _copyDropOwnedStmt(from);
5706  break;
5707  case T_ReassignOwnedStmt:
5708  retval = _copyReassignOwnedStmt(from);
5709  break;
5711  retval = _copyAlterTSDictionaryStmt(from);
5712  break;
5714  retval = _copyAlterTSConfigurationStmt(from);
5715  break;
5716  case T_CreatePolicyStmt:
5717  retval = _copyCreatePolicyStmt(from);
5718  break;
5719  case T_AlterPolicyStmt:
5720  retval = _copyAlterPolicyStmt(from);
5721  break;
5723  retval = _copyCreatePublicationStmt(from);
5724  break;
5726  retval = _copyAlterPublicationStmt(from);
5727  break;
5729  retval = _copyCreateSubscriptionStmt(from);
5730  break;
5732  retval = _copyAlterSubscriptionStmt(from);
5733  break;
5735  retval = _copyDropSubscriptionStmt(from);
5736  break;
5737  case T_A_Expr:
5738  retval = _copyA_Expr(from);
5739  break;
5740  case T_ColumnRef:
5741  retval = _copyColumnRef(from);
5742  break;
5743  case T_ParamRef:
5744  retval = _copyParamRef(from);
5745  break;
5746  case T_A_Const:
5747  retval = _copyA_Const(from);
5748  break;
5749  case T_FuncCall:
5750  retval = _copyFuncCall(from);
5751  break;
5752  case T_A_Star:
5753  retval = _copyA_Star(from);
5754  break;
5755  case T_A_Indices:
5756  retval = _copyA_Indices(from);
5757  break;
5758  case T_A_Indirection:
5759  retval = _copyA_Indirection(from);
5760  break;
5761  case T_A_ArrayExpr:
5762  retval = _copyA_ArrayExpr(from);
5763  break;
5764  case T_ResTarget:
5765  retval = _copyResTarget(from);
5766  break;
5767  case T_MultiAssignRef:
5768  retval = _copyMultiAssignRef(from);
5769  break;
5770  case T_TypeCast:
5771  retval = _copyTypeCast(from);
5772  break;
5773  case T_CollateClause:
5774  retval = _copyCollateClause(from);
5775  break;
5776  case T_SortBy:
5777  retval = _copySortBy(from);
5778  break;
5779  case T_WindowDef:
5780  retval = _copyWindowDef(from);
5781  break;
5782  case T_RangeSubselect:
5783  retval = _copyRangeSubselect(from);
5784  break;
5785  case T_RangeFunction:
5786  retval = _copyRangeFunction(from);
5787  break;
5788  case T_RangeTableSample:
5789  retval = _copyRangeTableSample(from);
5790  break;
5791  case T_RangeTableFunc:
5792  retval = _copyRangeTableFunc(from);
5793  break;
5794  case T_RangeTableFuncCol:
5795  retval = _copyRangeTableFuncCol(from);
5796  break;
5797  case T_TypeName:
5798  retval = _copyTypeName(from);
5799  break;
5800  case T_IndexElem:
5801  retval = _copyIndexElem(from);
5802  break;
5803  case T_StatsElem:
5804  retval = _copyStatsElem(from);
5805  break;
5806  case T_ColumnDef:
5807  retval = _copyColumnDef(from);
5808  break;
5809  case T_Constraint:
5810  retval = _copyConstraint(from);
5811  break;
5812  case T_DefElem:
5813  retval = _copyDefElem(from);
5814  break;
5815  case T_LockingClause:
5816  retval = _copyLockingClause(from);
5817  break;
5818  case T_RangeTblEntry:
5819  retval = _copyRangeTblEntry(from);
5820  break;
5821  case T_RangeTblFunction:
5822  retval = _copyRangeTblFunction(from);
5823  break;
5824  case T_TableSampleClause:
5825  retval = _copyTableSampleClause(from);
5826  break;
5827  case T_WithCheckOption:
5828  retval = _copyWithCheckOption(from);
5829  break;
5830  case T_SortGroupClause:
5831  retval = _copySortGroupClause(from);
5832  break;
5833  case T_GroupingSet:
5834  retval = _copyGroupingSet(from);
5835  break;
5836  case T_WindowClause:
5837  retval = _copyWindowClause(from);
5838  break;
5839  case T_RowMarkClause:
5840  retval = _copyRowMarkClause(from);
5841  break;
5842  case T_WithClause:
5843  retval = _copyWithClause(from);
5844  break;
5845  case T_InferClause:
5846  retval = _copyInferClause(from);
5847  break;
5848  case T_OnConflictClause:
5849  retval = _copyOnConflictClause(from);
5850  break;
5851  case T_CTESearchClause:
5852  retval = _copyCTESearchClause(from);
5853  break;
5854  case T_CTECycleClause:
5855  retval = _copyCTECycleClause(from);
5856  break;
5857  case T_CommonTableExpr:
5858  retval = _copyCommonTableExpr(from);
5859  break;
5860  case T_ObjectWithArgs:
5861  retval = _copyObjectWithArgs(from);
5862  break;
5863  case T_AccessPriv:
5864  retval = _copyAccessPriv(from);
5865  break;
5866  case T_XmlSerialize:
5867  retval = _copyXmlSerialize(from);
5868  break;
5869  case T_RoleSpec:
5870  retval = _copyRoleSpec(from);
5871  break;
5872  case T_TriggerTransition:
5873  retval = _copyTriggerTransition(from);
5874  break;
5875  case T_PartitionElem:
5876  retval = _copyPartitionElem(from);
5877  break;
5878  case T_PartitionSpec:
5879  retval = _copyPartitionSpec(from);
5880  break;
5881  case T_PartitionBoundSpec:
5882  retval = _copyPartitionBoundSpec(from);
5883  break;
5884  case T_PartitionRangeDatum:
5885  retval = _copyPartitionRangeDatum(from);
5886  break;
5887  case T_PartitionCmd:
5888  retval = _copyPartitionCmd(from);
5889  break;
5890  case T_PublicationTable:
5891  retval = _copyPublicationTable(from);
5892  break;
5893 
5894  /*
5895  * MISCELLANEOUS NODES
5896  */
5897  case T_ForeignKeyCacheInfo:
5898  retval = _copyForeignKeyCacheInfo(from);
5899  break;
5900 
5901  default:
5902  elog(ERROR, "unrecognized node type: %d", (int) nodeTag(from));
5903  retval = 0; /* keep compiler quiet */
5904  break;
5905  }
5906 
5907  return retval;
5908 }
static Integer * _copyInteger(const Integer *from)
Definition: copyfuncs.c:4915
static PartitionPruneStepOp * _copyPartitionPruneStepOp(const PartitionPruneStepOp *from)
Definition: copyfuncs.c:1305
static Limit * _copyLimit(const Limit *from)
Definition: copyfuncs.c:1215
static WindowClause * _copyWindowClause(const WindowClause *from)
Definition: copyfuncs.c:2567
static CreateEnumStmt * _copyCreateEnumStmt(const CreateEnumStmt *from)
Definition: copyfuncs.c:3903
static RefreshMatViewStmt * _copyRefreshMatViewStmt(const RefreshMatViewStmt *from)
Definition: copyfuncs.c:4126
static RangeSubselect * _copyRangeSubselect(const RangeSubselect *from)
Definition: copyfuncs.c:2903
static AlterSystemStmt * _copyAlterSystemStmt(const AlterSystemStmt *from)
Definition: copyfuncs.c:4149
static DeallocateStmt * _copyDeallocateStmt(const DeallocateStmt *from)
Definition: copyfuncs.c:4658
static PlanInvalItem * _copyPlanInvalItem(const PlanInvalItem *from)
Definition: copyfuncs.c:1337
static Scan * _copyScan(const Scan *from)
Definition: copyfuncs.c:428
static AlterEventTrigStmt * _copyAlterEventTrigStmt(const AlterEventTrigStmt *from)
Definition: copyfuncs.c:4485
static SeqScan * _copySeqScan(const SeqScan *from)
Definition: copyfuncs.c:444
static AlterTableMoveAllStmt * _copyAlterTableMoveAllStmt(const AlterTableMoveAllStmt *from)
Definition: copyfuncs.c:4255
static DiscardStmt * _copyDiscardStmt(const DiscardStmt *from)
Definition: copyfuncs.c:4209
static DeleteStmt * _copyDeleteStmt(const DeleteStmt *from)
Definition: copyfuncs.c:3231
static Unique * _copyUnique(const Unique *from)
Definition: copyfuncs.c:1115
static Memoize * _copyMemoize(const Memoize *from)
Definition: copyfuncs.c:957
static BitmapAnd * _copyBitmapAnd(const BitmapAnd *from)
Definition: copyfuncs.c:318
static AccessPriv * _copyAccessPriv(const AccessPriv *from)
Definition: copyfuncs.c:3415
static FromExpr * _copyFromExpr(const FromExpr *from)
Definition: copyfuncs.c:2268
Definition: nodes.h:81
static DropStmt * _copyDropStmt(const DropStmt *from)
Definition: copyfuncs.c:3576
static Plan * _copyPlan(const Plan *from)
Definition: copyfuncs.c:145
static PartitionedRelPruneInfo * _copyPartitionedRelPruneInfo(const PartitionedRelPruneInfo *from)
Definition: copyfuncs.c:1284
static LockStmt * _copyLockStmt(const LockStmt *from)
Definition: copyfuncs.c:4558
static RowMarkClause * _copyRowMarkClause(const RowMarkClause *from)
Definition: copyfuncs.c:2590
static Var * _copyVar(const Var *from)
Definition: copyfuncs.c:1441
static ValuesScan * _copyValuesScan(const ValuesScan *from)
Definition: copyfuncs.c:684
static AlterForeignServerStmt * _copyAlterForeignServerStmt(const AlterForeignServerStmt *from)
Definition: copyfuncs.c:4344
static RowExpr * _copyRowExpr(const RowExpr *from)
Definition: copyfuncs.c:1984
static VariableShowStmt * _copyVariableShowStmt(const VariableShowStmt *from)
Definition: copyfuncs.c:4199
static PLAssignStmt * _copyPLAssignStmt(const PLAssignStmt *from)
Definition: copyfuncs.c:3316
Definition: nodes.h:83
static TransactionStmt * _copyTransactionStmt(const TransactionStmt *from)
Definition: copyfuncs.c:3878
static AlterTypeStmt * _copyAlterTypeStmt(const AlterTypeStmt *from)
Definition: copyfuncs.c:3820
static TableLikeClause * _copyTableLikeClause(const TableLikeClause *from)
Definition: copyfuncs.c:3548
static CreatePolicyStmt * _copyCreatePolicyStmt(const CreatePolicyStmt *from)
Definition: copyfuncs.c:4717
static AlterEnumStmt * _copyAlterEnumStmt(const AlterEnumStmt *from)
Definition: copyfuncs.c:3925
Definition: nodes.h:54
static AlterExtensionStmt * _copyAlterExtensionStmt(const AlterExtensionStmt *from)
Definition: copyfuncs.c:4281
static DeclareCursorStmt * _copyDeclareCursorStmt(const DeclareCursorStmt *from)
Definition: copyfuncs.c:3452
static HashJoin * _copyHashJoin(const HashJoin *from)
Definition: copyfuncs.c:915
static AlterFdwStmt * _copyAlterFdwStmt(const AlterFdwStmt *from)
Definition: copyfuncs.c:4317
static PartitionSpec * _copyPartitionSpec(const PartitionSpec *from)
Definition: copyfuncs.c:4761
static GroupingSet * _copyGroupingSet(const GroupingSet *from)
Definition: copyfuncs.c:2555
static DropRoleStmt * _copyDropRoleStmt(const DropRoleStmt *from)
Definition: copyfuncs.c:4547
static PublicationTable * _copyPublicationTable(const PublicationTable *from)
Definition: copyfuncs.c:4814
static CreateAmStmt * _copyCreateAmStmt(const CreateAmStmt *from)
Definition: copyfuncs.c:4436
static AlternativeSubPlan * _copyAlternativeSubPlan(const AlternativeSubPlan *from)
Definition: copyfuncs.c:1787
static UnlistenStmt * _copyUnlistenStmt(const UnlistenStmt *from)
Definition: copyfuncs.c:3868
static Hash * _copyHash(const Hash *from)
Definition: copyfuncs.c:1139
static AlterTSConfigurationStmt * _copyAlterTSConfigurationStmt(const AlterTSConfigurationStmt *from)
Definition: copyfuncs.c:4701
static CreateOpClassStmt * _copyCreateOpClassStmt(const CreateOpClassStmt *from)
Definition: copyfuncs.c:3978
static Result * _copyResult(const Result *from)
Definition: copyfuncs.c:162
static Material * _copyMaterial(const Material *from)
Definition: copyfuncs.c:940
static GatherMerge * _copyGatherMerge(const GatherMerge *from)
Definition: copyfuncs.c:386
static RestrictInfo * _copyRestrictInfo(const RestrictInfo *from)
Definition: copyfuncs.c:2327
static ClusterStmt * _copyClusterStmt(const ClusterStmt *from)
Definition: copyfuncs.c:3486
static CTESearchClause * _copyCTESearchClause(const CTESearchClause *from)
Definition: copyfuncs.c:2642
static FunctionScan * _copyFunctionScan(const FunctionScan *from)
Definition: copyfuncs.c:641
static AlterFunctionStmt * _copyAlterFunctionStmt(const AlterFunctionStmt *from)
Definition: copyfuncs.c:3729
static SortBy * _copySortBy(const SortBy *from)
Definition: copyfuncs.c:2872
static MergeJoin * _copyMergeJoin(const MergeJoin *from)
Definition: copyfuncs.c:887
static StatsElem * _copyStatsElem(const StatsElem *from)
Definition: copyfuncs.c:3017
static AlterCollationStmt * _copyAlterCollationStmt(const AlterCollationStmt *from)
Definition: copyfuncs.c:3359
static RuleStmt * _copyRuleStmt(const RuleStmt *from)
Definition: copyfuncs.c:3831
static ImportForeignSchemaStmt * _copyImportForeignSchemaStmt(const ImportForeignSchemaStmt *from)
Definition: copyfuncs.c:4407
static FuncCall * _copyFuncCall(const FuncCall *from)
Definition: copyfuncs.c:2768
static RangeVar * _copyRangeVar(const RangeVar *from)
Definition: copyfuncs.c:1370
static CreatedbStmt * _copyCreatedbStmt(const CreatedbStmt *from)
Definition: copyfuncs.c:4032
static CopyStmt * _copyCopyStmt(const CopyStmt *from)
Definition: copyfuncs.c:3498
static IncrementalSort * _copyIncrementalSort(const IncrementalSort *from)
Definition: copyfuncs.c:1019
List * list_copy(const List *oldlist)
Definition: list.c:1418
static PartitionBoundSpec * _copyPartitionBoundSpec(const PartitionBoundSpec *from)
Definition: copyfuncs.c:4773
static CreateTableSpaceStmt * _copyCreateTableSpaceStmt(const CreateTableSpaceStmt *from)
Definition: copyfuncs.c:4219
static GrantStmt * _copyGrantStmt(const GrantStmt *from)
Definition: copyfuncs.c:3384
Definition: nodes.h:49
static AlterOperatorStmt * _copyAlterOperatorStmt(const AlterOperatorStmt *from)
Definition: copyfuncs.c:3809
static BitString * _copyBitString(const BitString *from)
Definition: copyfuncs.c:4945
static Alias * _copyAlias(const Alias *from)
Definition: copyfuncs.c:1356
static BitmapHeapScan * _copyBitmapHeapScan(const BitmapHeapScan *from)
Definition: copyfuncs.c:557
static Sort * _copySort(const Sort *from)
Definition: copyfuncs.c:1002
static A_ArrayExpr * _copyA_ArrayExpr(const A_ArrayExpr *from)
Definition: copyfuncs.c:2819
static Agg * _copyAgg(const Agg *from)
Definition: copyfuncs.c:1059
static TidRangeScan * _copyTidRangeScan(const TidRangeScan *from)
Definition: copyfuncs.c:599
static IntoClause * _copyIntoClause(const IntoClause *from)
Definition: copyfuncs.c:1414
static ParamRef * _copyParamRef(const ParamRef *from)
Definition: copyfuncs.c:2721
Definition: nodes.h:78
static IndexStmt * _copyIndexStmt(const IndexStmt *from)
Definition: copyfuncs.c:3640
static FuncExpr * _copyFuncExpr(const FuncExpr *from)
Definition: copyfuncs.c:1609
static ObjectWithArgs * _copyObjectWithArgs(const ObjectWithArgs *from)
Definition: copyfuncs.c:3402
static BoolExpr * _copyBoolExpr(const BoolExpr *from)
Definition: copyfuncs.c:1726
static PathKey * _copyPathKey(const PathKey *from)
Definition: copyfuncs.c:2310
static DefineStmt * _copyDefineStmt(const DefineStmt *from)
Definition: copyfuncs.c:3560
static Join * _copyJoin(const Join *from)
Definition: copyfuncs.c:848
static WithClause * _copyWithClause(const WithClause *from)
Definition: copyfuncs.c:2603
static TypeName * _copyTypeName(const TypeName *from)
Definition: copyfuncs.c:2855
static WindowAgg * _copyWindowAgg(const WindowAgg *from)
Definition: copyfuncs.c:1084
static PlannedStmt * _copyPlannedStmt(const PlannedStmt *from)
Definition: copyfuncs.c:85
static WindowDef * _copyWindowDef(const WindowDef *from)
Definition: copyfuncs.c:2886
static ScalarArrayOpExpr * _copyScalarArrayOpExpr(const ScalarArrayOpExpr *from)
Definition: copyfuncs.c:1706
static ExecuteStmt * _copyExecuteStmt(const ExecuteStmt *from)
Definition: copyfuncs.c:4647
static CTECycleClause * _copyCTECycleClause(const CTECycleClause *from)
Definition: copyfuncs.c:2655
static SubqueryScan * _copySubqueryScan(const SubqueryScan *from)
Definition: copyfuncs.c:620
static WithCheckOption * _copyWithCheckOption(const WithCheckOption *from)
Definition: copyfuncs.c:2527
static ReplicaIdentityStmt * _copyReplicaIdentityStmt(const ReplicaIdentityStmt *from)
Definition: copyfuncs.c:4138
static ExplainStmt * _copyExplainStmt(const ExplainStmt *from)
Definition: copyfuncs.c:4101
static TableSampleClause * _copyTableSampleClause(const TableSampleClause *from)
Definition: copyfuncs.c:2515
static DropUserMappingStmt * _copyDropUserMappingStmt(const DropUserMappingStmt *from)
Definition: copyfuncs.c:4382
static PartitionCmd * _copyPartitionCmd(const PartitionCmd *from)
Definition: copyfuncs.c:4802
static NestLoop * _copyNestLoop(const NestLoop *from)
Definition: copyfuncs.c:865
static Query * _copyQuery(const Query *from)
Definition: copyfuncs.c:3155
static XmlSerialize * _copyXmlSerialize(const XmlSerialize *from)
Definition: copyfuncs.c:3118
static ConvertRowtypeExpr * _copyConvertRowtypeExpr(const ConvertRowtypeExpr *from)
Definition: copyfuncs.c:1887
static RawStmt * _copyRawStmt(const RawStmt *from)
Definition: copyfuncs.c:3203
static PlaceHolderVar * _copyPlaceHolderVar(const PlaceHolderVar *from)
Definition: copyfuncs.c:2374
static BitmapOr * _copyBitmapOr(const BitmapOr *from)
Definition: copyfuncs.c:339
static RenameStmt * _copyRenameStmt(const RenameStmt *from)
Definition: copyfuncs.c:3751
List * list_copy_deep(const List *oldlist)
Definition: list.c:1463
static ReassignOwnedStmt * _copyReassignOwnedStmt(const ReassignOwnedStmt *from)
Definition: copyfuncs.c:4679
static ColumnDef * _copyColumnDef(const ColumnDef *from)
Definition: copyfuncs.c:3028
static SpecialJoinInfo * _copySpecialJoinInfo(const SpecialJoinInfo *from)
Definition: copyfuncs.c:2390
static RelabelType * _copyRelabelType(const RelabelType *from)
Definition: copyfuncs.c:1833
static CaseTestExpr * _copyCaseTestExpr(const CaseTestExpr *from)
Definition: copyfuncs.c:1951
static CreatePublicationStmt * _copyCreatePublicationStmt(const CreatePublicationStmt *from)
Definition: copyfuncs.c:4824
static CreateFunctionStmt * _copyCreateFunctionStmt(const CreateFunctionStmt *from)
Definition: copyfuncs.c:3700
static AlterTableStmt * _copyAlterTableStmt(const AlterTableStmt *from)
Definition: copyfuncs.c:3330
static SortGroupClause * _copySortGroupClause(const SortGroupClause *from)
Definition: copyfuncs.c:2541
static ArrayCoerceExpr * _copyArrayCoerceExpr(const ArrayCoerceExpr *from)
Definition: copyfuncs.c:1868
static RoleSpec * _copyRoleSpec(const RoleSpec *from)
Definition: copyfuncs.c:3131
Definition: nodes.h:46
static NextValueExpr * _copyNextValueExpr(const NextValueExpr *from)
Definition: copyfuncs.c:2186
#define ERROR
Definition: elog.h:46
static CreateOpClassItem * _copyCreateOpClassItem(const CreateOpClassItem *from)
Definition: copyfuncs.c:3993
static AlterExtensionContentsStmt * _copyAlterExtensionContentsStmt(const AlterExtensionContentsStmt *from)
Definition: copyfuncs.c:4292
static MergeAppend * _copyMergeAppend(const MergeAppend *from)
Definition: copyfuncs.c:264
static VariableSetStmt * _copyVariableSetStmt(const VariableSetStmt *from)
Definition: copyfuncs.c:4186
static AlterPublicationStmt * _copyAlterPublicationStmt(const AlterPublicationStmt *from)
Definition: copyfuncs.c:4837
static CreateRoleStmt * _copyCreateRoleStmt(const CreateRoleStmt *from)
Definition: copyfuncs.c:4511
static LockingClause * _copyLockingClause(const LockingClause *from)
Definition: copyfuncs.c:3106
static PlaceHolderInfo * _copyPlaceHolderInfo(const PlaceHolderInfo *from)
Definition: copyfuncs.c:2433
static ArrayExpr * _copyArrayExpr(const ArrayExpr *from)
Definition: copyfuncs.c:1966
static CreateExtensionStmt * _copyCreateExtensionStmt(const CreateExtensionStmt *from)
Definition: copyfuncs.c:4269
static SetToDefault * _copySetToDefault(const SetToDefault *from)
Definition: copyfuncs.c:2155
Definition: nodes.h:80
static DropSubscriptionStmt * _copyDropSubscriptionStmt(const DropSubscriptionStmt *from)
Definition: copyfuncs.c:4878
static AlterDefaultPrivilegesStmt * _copyAlterDefaultPrivilegesStmt(const AlterDefaultPrivilegesStmt *from)
Definition: copyfuncs.c:3441
static String * _copyString(const String *from)
Definition: copyfuncs.c:4935
static CreateSeqStmt * _copyCreateSeqStmt(const CreateSeqStmt *from)
Definition: copyfuncs.c:4159
static CreateSchemaStmt * _copyCreateSchemaStmt(const CreateSchemaStmt *from)
Definition: copyfuncs.c:4594
static AlterOpFamilyStmt * _copyAlterOpFamilyStmt(const AlterOpFamilyStmt *from)
Definition: copyfuncs.c:4019
Definition: nodes.h:153
static AlterObjectSchemaStmt * _copyAlterObjectSchemaStmt(const AlterObjectSchemaStmt *from)
Definition: copyfuncs.c:3782
void check_stack_depth(void)
Definition: postgres.c:3469
static RowCompareExpr * _copyRowCompareExpr(const RowCompareExpr *from)
Definition: copyfuncs.c:2001
static Constraint * _copyConstraint(const Constraint *from)
Definition: copyfuncs.c:3055
static CommentStmt * _copyCommentStmt(const CommentStmt *from)
Definition: copyfuncs.c:3602
static CreateRangeStmt * _copyCreateRangeStmt(const CreateRangeStmt *from)
Definition: copyfuncs.c:3914
static AlterUserMappingStmt * _copyAlterUserMappingStmt(const AlterUserMappingStmt *from)
Definition: copyfuncs.c:4370
static IndexElem * _copyIndexElem(const IndexElem *from)
Definition: copyfuncs.c:3000
static CollateExpr * _copyCollateExpr(const CollateExpr *from)
Definition: copyfuncs.c:1903
static TypeCast * _copyTypeCast(const TypeCast *from)
Definition: copyfuncs.c:2976
static MultiAssignRef * _copyMultiAssignRef(const MultiAssignRef *from)
Definition: copyfuncs.c:2843
static OnConflictExpr * _copyOnConflictExpr(const OnConflictExpr *from)
Definition: copyfuncs.c:2282
static InferenceElem * _copyInferenceElem(const InferenceElem *from)
Definition: copyfuncs.c:2200
static IndexOnlyScan * _copyIndexOnlyScan(const IndexOnlyScan *from)
Definition: copyfuncs.c:508
static CreateConversionStmt * _copyCreateConversionStmt(const CreateConversionStmt *from)
Definition: copyfuncs.c:4607
static A_Indices * _copyA_Indices(const A_Indices *