52 type = ((
const Var *) expr)->vartype;
69 case T_MergeSupportFunc:
72 case T_SubscriptingRef:
90 case T_ScalarArrayOpExpr:
108 elog(
ERROR,
"cannot get type for untransformed sublink");
117 (
errcode(ERRCODE_UNDEFINED_OBJECT),
118 errmsg(
"could not find array type for data type %s",
148 (
errcode(ERRCODE_UNDEFINED_OBJECT),
149 errmsg(
"could not find array type for data type %s",
165 case T_AlternativeSubPlan:
185 case T_ArrayCoerceExpr:
188 case T_ConvertRowtypeExpr:
206 case T_RowCompareExpr:
215 case T_SQLValueFunction:
226 case T_JsonValueExpr:
233 case T_JsonConstructorExpr:
236 case T_JsonIsPredicate:
259 case T_CoerceToDomain:
262 case T_CoerceToDomainValue:
268 case T_CurrentOfExpr:
271 case T_NextValueExpr:
274 case T_InferenceElem:
281 case T_PlaceHolderVar:
306 return ((
const Var *) expr)->vartypmod;
308 return ((
const Const *) expr)->consttypmod;
310 return ((
const Param *) expr)->paramtypmod;
311 case T_SubscriptingRef:
319 return coercedTypmod;
347 elog(
ERROR,
"cannot get type for untransformed sublink");
370 case T_AlternativeSubPlan:
382 case T_ArrayCoerceExpr:
393 Oid casetype = cexpr->casetype;
434 if (arrayexpr->multidims)
435 commontype = arrayexpr->array_typeid;
437 commontype = arrayexpr->element_typeid;
457 Oid coalescetype = cexpr->coalescetype;
485 Oid minmaxtype = mexpr->minmaxtype;
506 case T_SQLValueFunction:
508 case T_JsonValueExpr:
510 case T_JsonConstructorExpr:
526 case T_CoerceToDomain:
528 case T_CoerceToDomainValue:
532 case T_PlaceHolderVar:
554 if (coercedTypmod != NULL)
580 if (nargs < 2 || nargs > 3)
586 second_arg->constisnull)
592 if (coercedTypmod != NULL)
603 if (acoerce->resulttypmod < 0)
609 if (coercedTypmod != NULL)
610 *coercedTypmod = acoerce->resulttypmod;
650 con->consttypmod = rtypmod;
651 con->constcollid = rcollid;
669 newrelabel->resulttypmod = rtypmod;
670 newrelabel->resultcollid = rcollid;
671 newrelabel->relabelformat = rformat;
673 return (
Node *) newrelabel;
772 if (expr->funcretset)
826 coll = ((
const Var *) expr)->varcollid;
829 coll = ((
const Const *) expr)->constcollid;
832 coll = ((
const Param *) expr)->paramcollid;
835 coll = ((
const Aggref *) expr)->aggcollid;
841 coll = ((
const WindowFunc *) expr)->wincollid;
843 case T_MergeSupportFunc:
846 case T_SubscriptingRef:
850 coll = ((
const FuncExpr *) expr)->funccollid;
856 coll = ((
const OpExpr *) expr)->opcollid;
864 case T_ScalarArrayOpExpr:
884 elog(
ERROR,
"cannot get collation for untransformed sublink");
915 case T_AlternativeSubPlan:
936 case T_ArrayCoerceExpr:
939 case T_ConvertRowtypeExpr:
947 coll = ((
const CaseExpr *) expr)->casecollid;
953 coll = ((
const ArrayExpr *) expr)->array_collid;
959 case T_RowCompareExpr:
967 coll = ((
const MinMaxExpr *) expr)->minmaxcollid;
969 case T_SQLValueFunction:
972 coll = C_COLLATION_OID;
984 coll = DEFAULT_COLLATION_OID;
988 case T_JsonValueExpr:
991 case T_JsonConstructorExpr:
1001 case T_JsonIsPredicate:
1015 case T_JsonBehavior:
1033 case T_CoerceToDomain:
1036 case T_CoerceToDomainValue:
1039 case T_SetToDefault:
1042 case T_CurrentOfExpr:
1046 case T_NextValueExpr:
1050 case T_InferenceElem:
1053 case T_PlaceHolderVar:
1081 coll = ((
const Aggref *) expr)->inputcollid;
1084 coll = ((
const WindowFunc *) expr)->inputcollid;
1087 coll = ((
const FuncExpr *) expr)->inputcollid;
1090 coll = ((
const OpExpr *) expr)->inputcollid;
1092 case T_DistinctExpr:
1096 coll = ((
const NullIfExpr *) expr)->inputcollid;
1098 case T_ScalarArrayOpExpr:
1102 coll = ((
const MinMaxExpr *) expr)->inputcollid;
1124 ((
Var *) expr)->varcollid = collation;
1127 ((
Const *) expr)->constcollid = collation;
1130 ((
Param *) expr)->paramcollid = collation;
1133 ((
Aggref *) expr)->aggcollid = collation;
1135 case T_GroupingFunc:
1139 ((
WindowFunc *) expr)->wincollid = collation;
1141 case T_MergeSupportFunc:
1144 case T_SubscriptingRef:
1148 ((
FuncExpr *) expr)->funccollid = collation;
1150 case T_NamedArgExpr:
1154 ((
OpExpr *) expr)->opcollid = collation;
1156 case T_DistinctExpr:
1162 case T_ScalarArrayOpExpr:
1171 #ifdef USE_ASSERT_CHECKING
1183 elog(
ERROR,
"cannot set collation for untransformed sublink");
1209 case T_ArrayCoerceExpr:
1212 case T_ConvertRowtypeExpr:
1217 ((
CaseExpr *) expr)->casecollid = collation;
1220 ((
ArrayExpr *) expr)->array_collid = collation;
1226 case T_RowCompareExpr:
1230 case T_CoalesceExpr:
1234 ((
MinMaxExpr *) expr)->minmaxcollid = collation;
1236 case T_SQLValueFunction:
1238 (collation == C_COLLATION_OID) :
1243 (collation == DEFAULT_COLLATION_OID) :
1246 case T_JsonValueExpr:
1250 case T_JsonConstructorExpr:
1261 case T_JsonIsPredicate:
1274 case T_JsonBehavior:
1290 case T_CoerceToDomain:
1293 case T_CoerceToDomainValue:
1296 case T_SetToDefault:
1299 case T_CurrentOfExpr:
1303 case T_NextValueExpr:
1327 ((
Aggref *) expr)->inputcollid = inputcollation;
1330 ((
WindowFunc *) expr)->inputcollid = inputcollation;
1333 ((
FuncExpr *) expr)->inputcollid = inputcollation;
1336 ((
OpExpr *) expr)->inputcollid = inputcollation;
1338 case T_DistinctExpr:
1342 ((
NullIfExpr *) expr)->inputcollid = inputcollation;
1344 case T_ScalarArrayOpExpr:
1348 ((
MinMaxExpr *) expr)->inputcollid = inputcollation;
1395 loc = ((
const RangeVar *) expr)->location;
1398 loc = ((
const TableFunc *) expr)->location;
1401 loc = ((
const Var *) expr)->location;
1404 loc = ((
const Const *) expr)->location;
1407 loc = ((
const Param *) expr)->location;
1411 loc = ((
const Aggref *) expr)->location;
1413 case T_GroupingFunc:
1420 case T_MergeSupportFunc:
1423 case T_SubscriptingRef:
1436 case T_NamedArgExpr:
1446 case T_DistinctExpr:
1456 case T_ScalarArrayOpExpr:
1513 case T_ArrayCoerceExpr:
1522 case T_ConvertRowtypeExpr:
1537 loc = ((
const CaseExpr *) expr)->location;
1541 loc = ((
const CaseWhen *) expr)->location;
1545 loc = ((
const ArrayExpr *) expr)->location;
1549 loc = ((
const RowExpr *) expr)->location;
1551 case T_RowCompareExpr:
1555 case T_CoalesceExpr:
1563 case T_SQLValueFunction:
1579 case T_JsonValueExpr:
1582 case T_JsonConstructorExpr:
1585 case T_JsonIsPredicate:
1597 case T_JsonBehavior:
1618 case T_CoerceToDomain:
1627 case T_CoerceToDomainValue:
1630 case T_SetToDefault:
1647 foreach(lc, (
const List *) expr)
1666 loc = ((
const ColumnRef *) expr)->location;
1669 loc = ((
const ParamRef *) expr)->location;
1672 loc = ((
const A_Const *) expr)->location;
1690 loc = ((
const ResTarget *) expr)->location;
1692 case T_MultiAssignRef:
1708 case T_CollateClause:
1717 loc = ((
const WindowDef *) expr)->location;
1719 case T_RangeTableSample:
1723 loc = ((
const TypeName *) expr)->location;
1726 loc = ((
const ColumnDef *) expr)->location;
1731 case T_FunctionParameter:
1735 case T_XmlSerialize:
1748 case T_OnConflictClause:
1751 case T_CTESearchClause:
1754 case T_CTECycleClause:
1757 case T_CommonTableExpr:
1760 case T_JsonKeyValue:
1764 case T_JsonObjectConstructor:
1767 case T_JsonArrayConstructor:
1770 case T_JsonArrayQueryConstructor:
1773 case T_JsonAggConstructor:
1776 case T_JsonObjectAgg:
1779 case T_JsonArrayAgg:
1782 case T_PlaceHolderVar:
1786 case T_InferenceElem:
1790 case T_PartitionElem:
1793 case T_PartitionSpec:
1796 case T_PartitionBoundSpec:
1799 case T_PartitionRangeDatum:
1823 return Min(loc1, loc2);
1936 case T_DistinctExpr:
1943 if (checker(expr->opfuncid,
context))
1947 case T_ScalarArrayOpExpr:
1952 if (checker(expr->opfuncid,
context))
1965 &iofunc, &typioparam);
1970 &iofunc, &typisvarlena);
1975 case T_RowCompareExpr:
1980 foreach(opid, rcexpr->opnos)
1984 if (checker(opfuncid,
context))
2103 #define WALK(n) walker((Node *) (n), context)
2105 #define LIST_WALK(l) expression_tree_walker_impl((Node *) (l), walker, context)
2118 case T_CaseTestExpr:
2119 case T_SQLValueFunction:
2120 case T_CoerceToDomainValue:
2121 case T_SetToDefault:
2122 case T_CurrentOfExpr:
2123 case T_NextValueExpr:
2125 case T_SortGroupClause:
2126 case T_CTESearchClause:
2127 case T_MergeSupportFunc:
2130 case T_WithCheckOption:
2149 case T_GroupingFunc:
2168 case T_SubscriptingRef:
2193 case T_NamedArgExpr:
2196 case T_DistinctExpr:
2205 case T_ScalarArrayOpExpr:
2247 case T_AlternativeSubPlan:
2265 case T_ArrayCoerceExpr:
2275 case T_ConvertRowtypeExpr:
2286 foreach(temp, caseexpr->
args)
2304 case T_RowCompareExpr:
2314 case T_CoalesceExpr:
2329 case T_JsonValueExpr:
2339 case T_JsonConstructorExpr:
2351 case T_JsonIsPredicate:
2372 case T_JsonBehavior:
2384 case T_CoerceToDomain:
2391 case T_WindowClause:
2403 if (
WALK(wc->runCondition))
2407 case T_CTECycleClause:
2417 case T_CommonTableExpr:
2428 if (
WALK(cte->search_clause))
2430 if (
WALK(cte->cycle_clause))
2434 case T_JsonKeyValue:
2444 case T_JsonObjectConstructor:
2452 case T_JsonArrayConstructor:
2460 case T_JsonArrayQueryConstructor:
2468 case T_JsonAggConstructor:
2480 case T_JsonObjectAgg:
2490 case T_JsonArrayAgg:
2501 case T_PartitionBoundSpec:
2513 case T_PartitionRangeDatum:
2522 foreach(temp, (
List *) node)
2538 case T_OnConflictExpr:
2564 case T_PartitionPruneStepOp:
2572 case T_PartitionPruneStepCombine:
2591 case T_SetOperationStmt:
2613 case T_PlaceHolderVar:
2615 case T_InferenceElem:
2617 case T_AppendRelInfo:
2625 case T_PlaceHolderInfo:
2627 case T_RangeTblFunction:
2629 case T_TableSampleClause:
2643 if (
WALK(tf->ns_uris))
2651 if (
WALK(tf->coldefexprs))
2653 if (
WALK(tf->colvalexprs))
2655 if (
WALK(tf->passingvalexprs))
2660 elog(
ERROR,
"unrecognized node type: %d",
2702 if (
WALK(query->withCheckOptions))
2755 if (
WALK(wc->runCondition))
2839 if (
WALK(rte->joinaliasvars))
2861 if (
WALK(rte->securityQuals))
2944 #define FLATCOPY(newnode, node, nodetype) \
2945 ( (newnode) = (nodetype *) palloc(sizeof(nodetype)), \
2946 memcpy((newnode), (node), sizeof(nodetype)) )
2948 #define MUTATE(newfield, oldfield, fieldtype) \
2949 ( (newfield) = (fieldtype) mutator((Node *) (oldfield), context) )
2971 return (
Node *) newnode;
2981 return (
Node *) newnode;
2985 case T_CaseTestExpr:
2986 case T_SQLValueFunction:
2988 case T_CoerceToDomainValue:
2989 case T_SetToDefault:
2990 case T_CurrentOfExpr:
2991 case T_NextValueExpr:
2993 case T_SortGroupClause:
2994 case T_CTESearchClause:
2995 case T_MergeSupportFunc:
2997 case T_WithCheckOption:
3004 return (
Node *) newnode;
3013 newnode->aggargtypes =
list_copy(aggref->aggargtypes);
3019 return (
Node *) newnode;
3022 case T_GroupingFunc:
3028 MUTATE(newnode->args, grouping->args,
List *);
3039 newnode->refs =
list_copy(grouping->refs);
3040 newnode->cols =
list_copy(grouping->cols);
3042 return (
Node *) newnode;
3053 return (
Node *) newnode;
3056 case T_SubscriptingRef:
3071 return (
Node *) newnode;
3081 return (
Node *) newnode;
3084 case T_NamedArgExpr:
3091 return (
Node *) newnode;
3101 return (
Node *) newnode;
3104 case T_DistinctExpr:
3111 return (
Node *) newnode;
3121 return (
Node *) newnode;
3124 case T_ScalarArrayOpExpr:
3131 return (
Node *) newnode;
3141 return (
Node *) newnode;
3157 return (
Node *) newnode;
3171 return (
Node *) newnode;
3174 case T_AlternativeSubPlan:
3181 return (
Node *) newnode;
3191 return (
Node *) newnode;
3202 newnode->fieldnums =
list_copy(fstore->fieldnums);
3203 return (
Node *) newnode;
3213 return (
Node *) newnode;
3223 return (
Node *) newnode;
3226 case T_ArrayCoerceExpr:
3234 return (
Node *) newnode;
3237 case T_ConvertRowtypeExpr:
3244 return (
Node *) newnode;
3254 return (
Node *) newnode;
3266 return (
Node *) newnode;
3277 return (
Node *) newnode;
3287 return (
Node *) newnode;
3298 return (
Node *) newnode;
3301 case T_RowCompareExpr:
3309 return (
Node *) newnode;
3312 case T_CoalesceExpr:
3319 return (
Node *) newnode;
3329 return (
Node *) newnode;
3341 return (
Node *) newnode;
3344 case T_JsonReturning:
3352 return (
Node *) newnode;
3354 case T_JsonValueExpr:
3364 return (
Node *) newnode;
3366 case T_JsonConstructorExpr:
3377 return (
Node *) newnode;
3379 case T_JsonIsPredicate:
3388 return (
Node *) newnode;
3403 return (
Node *) newnode;
3406 case T_JsonBehavior:
3413 return (
Node *) newnode;
3423 return (
Node *) newnode;
3433 return (
Node *) newnode;
3436 case T_CoerceToDomain:
3443 return (
Node *) newnode;
3453 return (
Node *) newnode;
3459 case T_WindowClause:
3469 MUTATE(newnode->runCondition, wc->runCondition,
List *);
3470 return (
Node *) newnode;
3473 case T_CTECycleClause:
3481 return (
Node *) newnode;
3484 case T_CommonTableExpr:
3500 return (
Node *) newnode;
3503 case T_PartitionBoundSpec:
3512 return (
Node *) newnode;
3515 case T_PartitionRangeDatum:
3522 return (
Node *) newnode;
3536 foreach(temp, (
List *) node)
3538 resultlist =
lappend(resultlist,
3542 return (
Node *) resultlist;
3553 return (
Node *) newnode;
3556 case T_OnConflictExpr:
3568 return (
Node *) newnode;
3580 return (
Node *) newnode;
3583 case T_PartitionPruneStepOp:
3591 return (
Node *) newnode;
3594 case T_PartitionPruneStepCombine:
3607 return (
Node *) newnode;
3610 case T_SetOperationStmt:
3619 return (
Node *) newnode;
3630 return (
Node *) newnode;
3633 case T_PlaceHolderVar:
3639 MUTATE(newnode->phexpr, phv->phexpr,
Expr *);
3641 return (
Node *) newnode;
3644 case T_InferenceElem:
3651 return (
Node *) newnode;
3654 case T_AppendRelInfo:
3662 return (
Node *) newnode;
3665 case T_PlaceHolderInfo:
3673 return (
Node *) newnode;
3676 case T_RangeTblFunction:
3684 return (
Node *) newnode;
3687 case T_TableSampleClause:
3695 return (
Node *) newnode;
3704 MUTATE(newnode->ns_uris, tf->ns_uris,
List *);
3708 MUTATE(newnode->coldefexprs, tf->coldefexprs,
List *);
3709 MUTATE(newnode->colvalexprs, tf->colvalexprs,
List *);
3710 MUTATE(newnode->passingvalexprs, tf->passingvalexprs,
List *);
3711 return (
Node *) newnode;
3715 elog(
ERROR,
"unrecognized node type: %d",
3760 MUTATE(query->withCheckOptions, query->withCheckOptions,
List *);
3802 MUTATE(newnode->runCondition, wc->runCondition,
List *);
3804 resultlist =
lappend(resultlist, (
Node *) newnode);
3868 MUTATE(newrte->joinaliasvars, rte->joinaliasvars,
List *);
3872 newrte->joinaliasvars =
copyObject(rte->joinaliasvars);
3890 MUTATE(newrte->securityQuals, rte->securityQuals,
List *);
3891 newrt =
lappend(newrt, newrte);
3939 return mutator(node,
context);
3978 case T_SetToDefault:
3979 case T_CurrentOfExpr:
3980 case T_SQLValueFunction:
3989 case T_MergeSupportFunc:
3997 case T_GroupingFunc:
4017 foreach(temp, caseexpr->
args)
4033 case T_CoalesceExpr:
4048 case T_JsonReturning:
4050 case T_JsonValueExpr:
4062 case T_JsonParseExpr:
4072 case T_JsonScalarExpr:
4082 case T_JsonSerializeExpr:
4092 case T_JsonConstructorExpr:
4106 case T_JsonIsPredicate:
4108 case T_JsonArgument:
4110 case T_JsonFuncExpr:
4128 case T_JsonBehavior:
4152 case T_JsonTableColumn:
4166 case T_JsonTablePathSpec:
4182 if (
WALK(join->alias))
4195 if (
WALK(into->viewQuery))
4200 foreach(temp, (
List *) node)
4276 case T_MergeWhenClause:
4326 case T_PLAssignStmt:
4373 case T_NamedArgExpr:
4385 case T_A_Indirection:
4407 case T_MultiAssignRef:
4419 case T_CollateClause:
4437 case T_RangeSubselect:
4447 case T_RangeFunction:
4459 case T_RangeTableSample:
4472 case T_RangeTableFunc:
4488 case T_RangeTableFuncCol:
4533 case T_LockingClause:
4535 case T_XmlSerialize:
4557 case T_OnConflictClause:
4569 case T_CommonTableExpr:
4582 case T_JsonKeyValue:
4592 case T_JsonObjectConstructor:
4602 case T_JsonArrayConstructor:
4612 case T_JsonAggConstructor:
4626 case T_JsonObjectAgg:
4636 case T_JsonArrayAgg:
4646 case T_JsonArrayQueryConstructor:
4657 elog(
ERROR,
"unrecognized node type: %d",
4679 #define PSWALK(n) walker(n, context)
4729 case T_SubqueryScan:
4783 for (
j = 0;
j < nplans;
j++)
#define Assert(condition)
#define OidIsValid(objectId)
int errcode(int sqlerrcode)
int errmsg(const char *fmt,...)
#define ereport(elevel,...)
#define outerPlanState(node)
#define innerPlanState(node)
if(TABLE==NULL||TABLE_index==NULL)
List * lappend(List *list, void *datum)
List * list_copy(const List *oldlist)
void getTypeOutputInfo(Oid type, Oid *typOutput, bool *typIsVarlena)
RegProcedure get_opcode(Oid opno)
void getTypeInputInfo(Oid type, Oid *typInput, Oid *typIOParam)
Oid get_promoted_array_type(Oid typid)
bool query_tree_walker_impl(Query *query, tree_walker_callback walker, void *context, int flags)
#define FLATCOPY(newnode, node, nodetype)
bool raw_expression_tree_walker_impl(Node *node, tree_walker_callback walker, void *context)
Node * query_or_expression_tree_mutator_impl(Node *node, tree_mutator_callback mutator, void *context, int flags)
Oid exprType(const Node *expr)
bool range_table_entry_walker_impl(RangeTblEntry *rte, tree_walker_callback walker, void *context, int flags)
Query * query_tree_mutator_impl(Query *query, tree_mutator_callback mutator, void *context, int flags)
bool exprIsLengthCoercion(const Node *expr, int32 *coercedTypmod)
void exprSetCollation(Node *expr, Oid collation)
Oid exprInputCollation(const Node *expr)
Node * expression_tree_mutator_impl(Node *node, tree_mutator_callback mutator, void *context)
int32 exprTypmod(const Node *expr)
static bool planstate_walk_subplans(List *plans, planstate_tree_walker_callback walker, void *context)
bool check_functions_in_node(Node *node, check_function_callback checker, void *context)
Oid exprCollation(const Node *expr)
static bool fix_opfuncids_walker(Node *node, void *context)
void exprSetInputCollation(Node *expr, Oid inputcollation)
bool query_or_expression_tree_walker_impl(Node *node, tree_walker_callback walker, void *context, int flags)
List * range_table_mutator_impl(List *rtable, tree_mutator_callback mutator, void *context, int flags)
Node * applyRelabelType(Node *arg, Oid rtype, int32 rtypmod, Oid rcollid, CoercionForm rformat, int rlocation, bool overwrite_ok)
bool expression_tree_walker_impl(Node *node, tree_walker_callback walker, void *context)
bool range_table_walker_impl(List *rtable, tree_walker_callback walker, void *context, int flags)
#define MUTATE(newfield, oldfield, fieldtype)
static int leftmostLoc(int loc1, int loc2)
Node * relabel_to_typmod(Node *expr, int32 typmod)
int exprLocation(const Node *expr)
Node * strip_implicit_coercions(Node *node)
bool expression_returns_set(Node *clause)
bool planstate_tree_walker_impl(PlanState *planstate, planstate_tree_walker_callback walker, void *context)
void fix_opfuncids(Node *node)
static bool expression_returns_set_walker(Node *node, void *context)
void set_sa_opfuncid(ScalarArrayOpExpr *opexpr)
static bool planstate_walk_members(PlanState **planstates, int nplans, planstate_tree_walker_callback walker, void *context)
void set_opfuncid(OpExpr *opexpr)
#define QTW_DONT_COPY_QUERY
#define QTW_IGNORE_CTE_SUBQUERIES
#define QTW_IGNORE_RT_SUBQUERIES
#define range_table_walker(rt, w, c, f)
bool(* planstate_tree_walker_callback)(struct PlanState *planstate, void *context)
#define query_tree_walker(q, w, c, f)
#define range_table_entry_walker(r, w, c, f)
#define QTW_EXAMINE_RTES_AFTER
#define QTW_EXAMINE_SORTGROUP
bool(* tree_walker_callback)(Node *node, void *context)
Node *(* tree_mutator_callback)(Node *node, void *context)
#define expression_tree_walker(n, w, c)
#define query_tree_mutator(q, m, c, f)
bool(* check_function_callback)(Oid func_id, void *context)
#define QTW_EXAMINE_RTES_BEFORE
#define range_table_mutator(rt, m, c, f)
#define QTW_IGNORE_RANGE_TABLE
#define QTW_IGNORE_JOINALIASES
#define IsA(nodeptr, _type_)
#define lfirst_node(type, lc)
static int list_length(const List *l)
#define linitial_node(type, l)
#define for_each_from(cell, lst, N)
static rewind_source * source
void check_stack_depth(void)
static int32 DatumGetInt32(Datum X)
static int fc(const char *x)
Node * cycle_mark_default
CollateClause * collClause
struct RestrictInfo * rinfo
JsonAggConstructor * constructor
JsonReturning * returning
JsonReturning * returning
JsonValueExpr * context_item
JsonAggConstructor * constructor
JsonReturning * returning
JsonTablePathSpec * pathspec
JsonValueExpr * context_item
Node * mergeJoinCondition
OnConflictExpr * onConflict
struct TableSampleClause * tablesample
struct PlanState * planstate